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

List:       kde-commits
Subject:    KDE/kdeplasma-addons/applets/timer
From:       Davide Bettio <davide.bettio () kdemail ! net>
Date:       2009-01-12 18:16:07
Message-ID: 1231784167.023083.24359.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 910107 by bettio:

Using KNotification instead of KPassivePopup. It should work.


 M  +2 -2      timer.cpp  


--- trunk/KDE/kdeplasma-addons/applets/timer/timer.cpp #910106:910107
@@ -30,7 +30,7 @@
 
 #include <KApplication>
 #include <KConfigDialog>
-#include <KPassivePopup>
+#include <KNotification>
 #include <KShell>
 #include <KToolInvocation>
 
@@ -208,7 +208,7 @@
 {
     if (m_showMessage){
         //TODO: probably something with an OK button is better.
-        KPassivePopup::message(m_message, (QWidget *) 0);
+        KNotification::event(KNotification::Notification, m_message);
     }
 
     if (m_runCommand && !m_command.isEmpty()){
[prev in list] [next in list] [prev in thread] [next in thread] 

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