branches/KDE/4.1/kdelibs/kdeui/kernel

Jaroslaw Staniek js at iidea.pl
Wed Sep 3 09:46:20 CEST 2008


SVN commit 856535 by staniek:

missing commit:
activate existing unique app's process on Windows (as in enterprise4 branch)

CCMAIL:till at kde.org
CCMAIL:kde-windows at kde.org


 M  +2 -4      kuniqueapplication.cpp  


--- branches/KDE/4.1/kdelibs/kdeui/kernel/kuniqueapplication.cpp #856534:856535
@@ -171,11 +171,9 @@
         kError() << "KUniqueApplication: Can't setup D-Bus service. Probably already running."
                  << endl;
 #ifdef Q_WS_WIN
-        // on Windows we'll restart the app (at least in KMail, KOrganizer, Konact...)
-        return false;
-#else
-        ::exit(255);
+        KApplication_activateWindowForProcess(KCmdLineArgs::aboutData()->appName());
 #endif
+        ::exit(255);
      }
 #ifdef Q_WS_WIN
      Private::s_dbusServiceName = appName;


More information about the Kde-windows mailing list