Do not autostart the UI from the daemon on Windows
This commit is contained in:
parent
ca6ec1d311
commit
1dcfaf5108
1 changed files with 0 additions and 5 deletions
|
@ -171,11 +171,6 @@ int main(int argc, char *argv[])
|
||||||
|
|
||||||
DesktopDaemon daemon;
|
DesktopDaemon daemon;
|
||||||
|
|
||||||
#ifdef Q_OS_WIN
|
|
||||||
// make sure indicator shows up in the tray whenever daemon is spawned
|
|
||||||
QProcess::startDetached(QStringLiteral("kdeconnect-indicator.exe"));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// kdeconnectd is autostarted, so disable session management to speed up startup
|
// kdeconnectd is autostarted, so disable session management to speed up startup
|
||||||
auto disableSessionManagement = [](QSessionManager &sm) {
|
auto disableSessionManagement = [](QSessionManager &sm) {
|
||||||
sm.setRestartHint(QSessionManager::RestartNever);
|
sm.setRestartHint(QSessionManager::RestartNever);
|
||||||
|
|
Loading…
Reference in a new issue