diff --git a/core/src/devicemanager.cpp b/core/src/devicemanager.cpp index c72981f428..b724db5561 100644 --- a/core/src/devicemanager.cpp +++ b/core/src/devicemanager.cpp @@ -67,6 +67,11 @@ void DeviceManager::addDevice(Device *d) QString DeviceManager::createDevice(QString category, QString param, bool async, QList plugins) { + for(Device *val : qAsConst(map)) { + if(val->param() == param) { + return ""; + } + } qInfo(CAT_DEVICEMANAGER) << category << "device with params" << param << "added"; Q_EMIT deviceAddStarted(param);