From 1dcfaf5108d4b96db1162fcc95990eae615e16f6 Mon Sep 17 00:00:00 2001 From: Albert Vaca Cintora Date: Thu, 6 Jul 2023 01:02:04 +0200 Subject: [PATCH] Do not autostart the UI from the daemon on Windows --- daemon/kdeconnectd.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/daemon/kdeconnectd.cpp b/daemon/kdeconnectd.cpp index d216098c5..2018ce4ef 100644 --- a/daemon/kdeconnectd.cpp +++ b/daemon/kdeconnectd.cpp @@ -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);