Ask kio not to use klauncher/kdeinit to spawn slaves on Windows

This commit is contained in:
Albert Vaca 2016-06-15 20:37:42 +02:00
parent 84a5735e61
commit cfc1f8fd38

View file

@ -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();