[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdebase/workspace/libs/plasmaclock
From:       Richard J. Moore <rich () kde ! org>
Date:       2010-02-28 21:37:55
Message-ID: 1267393075.044169.5827.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1097307 by rich:

- Prevent modal dialog blocking the clock. This could be fixed in a
  nicer way, but this fix avoids a new string.


 M  +2 -1      clockapplet.cpp  


--- trunk/KDE/kdebase/workspace/libs/plasmaclock/clockapplet.cpp #1097306:1097307
@@ -48,6 +48,7 @@
 #include <KGlobalSettings>
 #include <KRun>
 #include <KLocale>
+#include <KPassivePopup>
 #include <KService>
 #include <KServiceTypeTrader>
 #include <KTimeZone>
@@ -208,7 +209,7 @@
         if (!QDBusConnection::sessionBus().interface()->isServiceRegistered("org.kde.kttsd")) {
             QString error;
             if (KToolInvocation::startServiceByDesktopName("kttsd", QStringList(), &error)) {
-                KMessageBox::error(0, i18n( "Starting KTTSD Failed"), error );
+                KPassivePopup::message(i18n("Starting KTTSD Failed"), error, static_cast<QWidget *>(0));
                 return;
             }
         }
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic