Revert "Manually start HID devices detection after crash handler startup."

This reverts commit a6974b9e90.
This commit is contained in:
Gaelle Braud 2026-04-07 10:58:57 +02:00
parent 408d539688
commit 576b54e77b

View file

@ -424,8 +424,6 @@ void App::setSelf(QSharedPointer<App>(me)) {
},
Qt::SingleShotConnection);
}
} else if (gstate == linphone::GlobalState::Off) {
CoreModel::getInstance()->getCore()->stopHidDevicesDetection();
}
});
});
@ -503,8 +501,6 @@ void App::setSelf(QSharedPointer<App>(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();