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

List:       kde-commits
Subject:    branches/KDE/4.6/kdebase/workspace/plasma/generic/applets/battery
From:       Sebastian Kügler <sebas () kde ! org>
Date:       2011-01-27 20:32:14
Message-ID: 20110127203214.D5450AC8BB () svn ! kde ! org
[Download RAW message or body]

SVN commit 1217549 by sebas:

single click opens the config

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

FIXED-IN:4.6.1
BUG:259470



 M  +1 -1      battery.cpp  


--- branches/KDE/4.6/kdebase/workspace/plasma/generic/applets/battery/battery.cpp #1217548:1217549
@@ -605,7 +605,7 @@
         action->setIcon(KIcon("configure"));
         action->setText(i18n("Power save 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