mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-04-17 20:08:28 +00:00
Manually start HID devices detection after crash handler startup.
This commit is contained in:
parent
ae3cb29bac
commit
a6974b9e90
2 changed files with 7 additions and 1 deletions
|
|
@ -418,6 +418,8 @@ void App::setSelf(QSharedPointer<App>(me)) {
|
||||||
},
|
},
|
||||||
Qt::SingleShotConnection);
|
Qt::SingleShotConnection);
|
||||||
}
|
}
|
||||||
|
} else if (gstate == linphone::GlobalState::Off) {
|
||||||
|
CoreModel::getInstance()->getCore()->stopHidDevicesDetection();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
@ -495,6 +497,8 @@ void App::setSelf(QSharedPointer<App>(me)) {
|
||||||
},
|
},
|
||||||
Qt::SingleShotConnection);
|
Qt::SingleShotConnection);
|
||||||
}
|
}
|
||||||
|
} else if (state == linphone::GlobalState::Off) {
|
||||||
|
CoreModel::getInstance()->getCore()->stopHidDevicesDetection();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
@ -691,6 +695,8 @@ void App::initCore() {
|
||||||
// QML
|
// QML
|
||||||
mEngine = new QQmlApplicationEngine(this);
|
mEngine = new QQmlApplicationEngine(this);
|
||||||
assert(mEngine);
|
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.
|
// Provide `+custom` folders for custom components and `5.9` for old components.
|
||||||
QStringList selectors("custom");
|
QStringList selectors("custom");
|
||||||
const QVersionNumber &version = QLibraryInfo::version();
|
const QVersionNumber &version = QLibraryInfo::version();
|
||||||
|
|
|
||||||
2
external/linphone-sdk
vendored
2
external/linphone-sdk
vendored
|
|
@ -1 +1 @@
|
||||||
Subproject commit aa0864f7b00dc48893798556ca7c6ba3e4c12e43
|
Subproject commit 466a74a1c208107348c7fd2612703734a4d2345a
|
||||||
Loading…
Add table
Reference in a new issue