remove duplicates from interface list

This commit is contained in:
Michael Zanetti 2018-03-02 11:51:35 +01:00
parent 0ba6db296b
commit c04e2090d7

View File

@ -889,6 +889,7 @@ void DevicePlugin::loadMetaData()
interfaces.append(generateInterfaceParentList(value.toString()));
}
}
interfaces.removeDuplicates();
deviceClass.setInterfaces(interfaces);
if (!broken) {