[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kde-workspace] plasma/generic/applets/batterymonitor/contents/ui: Don't pulse if there are no batte
From: Kai Uwe Broulik <kde () privat ! broulik ! de>
Date: 2013-07-03 9:32:44
Message-ID: E1UuJQa-0005xA-4r () scm ! kde ! org
[Download RAW message or body]
Git commit 75d384f063c779272a6671a3c3a0b619c7ac5b3a by Kai Uwe Broulik.
Committed on 03/07/2013 at 09:32.
Pushed by broulik into branch 'master'.
Don't pulse if there are no batteries at all
M +1 -1 plasma/generic/applets/batterymonitor/contents/ui/CompactRep=
resentation.qml
http://commits.kde.org/kde-workspace/75d384f063c779272a6671a3c3a0b619c7ac5b=
3a
diff --git a/plasma/generic/applets/batterymonitor/contents/ui/CompactRepre=
sentation.qml b/plasma/generic/applets/batterymonitor/contents/ui/CompactRe=
presentation.qml
index 25060da..ba564de 100644
--- a/plasma/generic/applets/batterymonitor/contents/ui/CompactRepresentati=
on.qml
+++ b/plasma/generic/applets/batterymonitor/contents/ui/CompactRepresentati=
on.qml
@@ -71,7 +71,7 @@ ListView {
// When we should show only a single battery (eg. constrained in t=
ray) such batteries will
// only be shown when there are no primary batteries (eg. on a des=
ktop) and there a potentially
// failing keyboard or mouse is an urgent situation
- property bool animate: view.singleBattery ? true : model["Is Power=
Supply"]
+ property bool animate: view.singleBattery ? batteries.cumulativePl=
uggedin : model["Is Power Supply"]
=
width: view.width/view.count
height: view.height
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic