diff --git a/daemon/kdeconnectd.cpp b/daemon/kdeconnectd.cpp index e973115c4..1b7a84139 100644 --- a/daemon/kdeconnectd.cpp +++ b/daemon/kdeconnectd.cpp @@ -88,9 +88,13 @@ int main(int argc, char* argv[]) KDBusService dbusService(KDBusService::Unique); +#ifdef Q_OS_WIN + qputenv("KDE_FORK_SLAVES"); +#endif + Daemon* daemon = new DesktopDaemon; QObject::connect(daemon, SIGNAL(destroyed(QObject*)), &app, SLOT(quit())); - + #ifdef HAVE_TELEPATHY //keep a reference to the KTP CM so that we can register on DBus auto telepathyPlugin = KDEConnectTelepathyProtocolFactory::interface();