diff --git a/Linphone/core/App.cpp b/Linphone/core/App.cpp index 308759289..394201dfa 100644 --- a/Linphone/core/App.cpp +++ b/Linphone/core/App.cpp @@ -424,8 +424,6 @@ void App::setSelf(QSharedPointer(me)) { }, Qt::SingleShotConnection); } - } else if (gstate == linphone::GlobalState::Off) { - CoreModel::getInstance()->getCore()->stopHidDevicesDetection(); } }); }); @@ -503,8 +501,6 @@ void App::setSelf(QSharedPointer(me)) { }, Qt::SingleShotConnection); } - } else if (state == linphone::GlobalState::Off) { - CoreModel::getInstance()->getCore()->stopHidDevicesDetection(); } }); }); @@ -707,8 +703,6 @@ void App::initCore() { // QML mEngine = new QQmlApplicationEngine(this); assert(mEngine); - lDebug() << log().arg("Starting HID devices detection"); - CoreModel::getInstance()->getCore()->startHidDevicesDetection(); // Provide `+custom` folders for custom components and `5.9` for old components. QStringList selectors("custom"); const QVersionNumber &version = QLibraryInfo::version();