kdeconnectd: trigger indicator when daemon is spawned on Windows
This commit is contained in:
parent
62e02180df
commit
9031ccadc3
1 changed files with 5 additions and 0 deletions
|
@ -163,6 +163,11 @@ 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);
|
||||
|
|
Loading…
Reference in a new issue