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

List:       kde-commits
Subject:    KDE/kdebase/workspace/powerdevil/daemon
From:       Felix Geyer <debfx-kde () fobos ! de>
Date:       2010-04-15 18:06:22
Message-ID: 20100415180622.D16F0AC898 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1115238 by fgeyer:

Fix PowerDevil always suspending the system twice and not waiting the
configured time before suspending/shutting down.
BUG: 221637



 M  +0 -4      PowerDevilDaemon.cpp  


--- trunk/KDE/kdebase/workspace/powerdevil/daemon/PowerDevilDaemon.cpp #1115237:1115238
@@ -972,10 +972,6 @@
 void PowerDevilDaemon::emitNotification(const QString &evid, const QString &message,
                                         const char *slot, const QString &iconname)
 {
-    if (slot) {
-        QTimer::singleShot(0, this, slot);
-    }
-
     if (!slot) {
         KNotification::event(evid, message, KIcon(iconname).pixmap(20, 20),
                              0, KNotification::CloseOnTimeout, d->applicationData);
[prev in list] [next in list] [prev in thread] [next in thread] 

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