[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kde-workspace] plasma/generic/applets/batterymonitor/contents/ui: Disable charging animation when a
From: Sebastian_Kügler <sebas () kde ! org>
Date: 2014-02-04 3:26:46
Message-ID: E1WAWes-0001d9-F1 () scm ! kde ! org
[Download RAW message or body]
Git commit 17d6f2de528edde60225315b307664cc95779653 by Sebastian K=C3=BCgle=
r.
Committed on 04/02/2014 at 01:01.
Pushed by sebas into branch 'master'.
Disable charging animation when animations are disabled
M +2 -0 plasma/generic/applets/batterymonitor/contents/ui/BatteryIte=
m.qml
http://commits.kde.org/kde-workspace/17d6f2de528edde60225315b307664cc957796=
53
diff --git a/plasma/generic/applets/batterymonitor/contents/ui/BatteryItem.=
qml b/plasma/generic/applets/batterymonitor/contents/ui/BatteryItem.qml
index 78493e4..94da59a 100755
--- a/plasma/generic/applets/batterymonitor/contents/ui/BatteryItem.qml
+++ b/plasma/generic/applets/batterymonitor/contents/ui/BatteryItem.qml
@@ -117,6 +117,7 @@ Item {
loops: Animation.Infinite
=
NumberAnimation {
+ enabled: units.longDuration > 0
target: batteryIcon
properties: "opacity"
from: 1.0
@@ -125,6 +126,7 @@ 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