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

List:       kde-commits
Subject:    KDE/kdebase/workspace/plasma/generic/applets/battery
From:       Sebastian Kügler <sebas () kde ! org>
Date:       2011-01-27 20:39:28
Message-ID: 20110127203928.95A78AC8BB () svn ! kde ! org
[Download RAW message or body]

SVN commit 1217550 by sebas:

single click opens the config

activated() is checked against KGlobalSettings::singleClick(), clicked()
isn't.

forward-port from r1217549
CCBUG:259470

 M  +1 -1      battery.cpp  


--- trunk/KDE/kdebase/workspace/plasma/generic/applets/battery/battery.cpp #1217549:1217550
@@ -610,7 +610,7 @@
     action->setIcon(KIcon("configure"));
     action->setText(i18n("Power Settings"));
     connect(action, SIGNAL(triggered(bool)), this, SLOT(openConfig()));
-    connect(configButton, SIGNAL(activated()), this, SLOT(openConfig()));
+    connect(configButton, SIGNAL(clicked()), this, SLOT(openConfig()));
     addAction("configure_powersave", action);
     configButton->setIcon(action->icon());
     configButton->setToolTip(action->toolTip());
[prev in list] [next in list] [prev in thread] [next in thread] 

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