branches/KDE/4.1/kdelibs/kdeui/kernel
Jaroslaw Staniek
js at iidea.pl
Wed Sep 3 10:02:17 CEST 2008
Jaroslaw Staniek said the following, On 2008-09-03 09:46:
> 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;
>
Could this quite important fix be added to the Windows packages v4.1?
--
regards / pozdrawiam, Jaroslaw Staniek
Sponsored by OpenOffice Polska (http://www.openoffice.com.pl/en) to work on
Kexi & KOffice (http://www.kexi.pl/en, http://www.koffice.org/kexi)
KDE Libraries for MS Windows (http://windows.kde.org)
More information about the Kde-windows
mailing list