Do not autostart the UI from the daemon on Windows

This commit is contained in:
Albert Vaca Cintora 2023-07-06 01:02:04 +02:00
parent ca6ec1d311
commit 1dcfaf5108

View file

@ -171,11 +171,6 @@ int main(int argc, char *argv[])
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
auto disableSessionManagement = [](QSessionManager &sm) {
sm.setRestartHint(QSessionManager::RestartNever);