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

List:       kde-commits
Subject:    [kde-workspace] plasma/generic/applets/batterymonitor/contents/ui: Fix syntax error in battery
From:       Sebastian_Kügler <sebas () kde ! org>
Date:       2014-02-04 3:26:47
Message-ID: E1WAWet-0001d9-LP () scm ! kde ! org
[Download RAW message or body]

Git commit c6306dea4e6a97665de6df9a6d1ebc52dd13f087 by Sebastian Kügler.
Committed on 04/02/2014 at 02:20.
Pushed by sebas into branch 'master'.

Fix syntax error in battery

This was introduced with animations porting.

M  +1    -3    plasma/generic/applets/batterymonitor/contents/ui/BatteryItem.qml

http://commits.kde.org/kde-workspace/c6306dea4e6a97665de6df9a6d1ebc52dd13f087

diff --git a/plasma/generic/applets/batterymonitor/contents/ui/BatteryItem.qml \
b/plasma/generic/applets/batterymonitor/contents/ui/BatteryItem.qml index \
                94da59a..9ff2c6c 100755
--- a/plasma/generic/applets/batterymonitor/contents/ui/BatteryItem.qml
+++ b/plasma/generic/applets/batterymonitor/contents/ui/BatteryItem.qml
@@ -112,12 +112,11 @@ Item {
 
         SequentialAnimation {
           id: chargeAnimation
-          running: dialog.popupShown && model["State"] == "Charging" && model["Is \
Power Supply"] +          running: units.longDuration > 0 && dialog.popupShown && \
model["State"] == "Charging" && model["Is Power Supply"]  alwaysRunToEnd: true
           loops: Animation.Infinite
 
           NumberAnimation {
-              enabled: units.longDuration > 0
               target: batteryIcon
               properties: "opacity"
               from: 1.0
@@ -126,7 +125,6 @@ Item {
               easing.type: Easing.InCubic
           }
           NumberAnimation {
-              enabled: units.longDuration > 0
               target: batteryIcon
               properties: "opacity"
               from: 0.5


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

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