[SCM] kdeconnect packaging branch, master, updated. debian/0.9g-1-1183-g9d69498

Maximiliano Curia maxy at moszumanska.debian.org
Fri Oct 14 14:27:11 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/kdeconnect.git;a=commitdiff;h=1bc4fcf

The following commit has been merged in the master branch:
commit 1bc4fcfa233d248fb74226d93b80035ba3e4d6e0
Author: Albert Vaca <albertvaka at gmail.com>
Date:   Mon Nov 18 02:32:42 2013 +0100

    Ooops incorrect comparison
---
 kded/plugins/battery/batteryplugin.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kded/plugins/battery/batteryplugin.cpp b/kded/plugins/battery/batteryplugin.cpp
index 074acdf..4ab9951 100644
--- a/kded/plugins/battery/batteryplugin.cpp
+++ b/kded/plugins/battery/batteryplugin.cpp
@@ -62,7 +62,7 @@ bool BatteryPlugin::receivePackage(const NetworkPackage& np)
     int currentCharge = np.get<int>("currentCharge");
     int thresholdEvent = np.get<int>("thresholdEvent", (int)ThresholdNone);
 
-    if (batteryDbusInterface->isCharging() != currentCharge
+    if (batteryDbusInterface->charge() != currentCharge
         || batteryDbusInterface->isCharging() != isCharging
     ) {
         batteryDbusInterface->updateValues(isCharging, currentCharge);

-- 
kdeconnect packaging



More information about the pkg-kde-commits mailing list