[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kde-workspace] plasma/generic/applets/batterymonitor/contents/ui: Hide separator line if there are
From: Kai Uwe Broulik <kde () privat ! broulik ! de>
Date: 2013-06-27 14:51:47
Message-ID: E1UsDY3-0005PT-RH () scm ! kde ! org
[Download RAW message or body]
Git commit af253fcdde5063317819267f6df136f024a24330 by Kai Uwe Broulik.
Committed on 27/06/2013 at 14:51.
Pushed by broulik into branch 'master'.
Hide separator line if there are no batteries
M +1 -0 plasma/generic/applets/batterymonitor/contents/ui/PopupDialog.qml
http://commits.kde.org/kde-workspace/af253fcdde5063317819267f6df136f024a24330
diff --git a/plasma/generic/applets/batterymonitor/contents/ui/PopupDialog.qml \
b/plasma/generic/applets/batterymonitor/contents/ui/PopupDialog.qml index \
72cc1fc..e571e61 100644
--- a/plasma/generic/applets/batterymonitor/contents/ui/PopupDialog.qml
+++ b/plasma/generic/applets/batterymonitor/contents/ui/PopupDialog.qml
@@ -114,6 +114,7 @@ Item {
elementId: "horizontal-line"
height: lineSvg.elementSize("horizontal-line").height
width: parent.width
+ visible: model.count
anchors {
top: plasmoid.location == BottomEdge ? undefined : settingsColumn.bottom
bottom: plasmoid.location == BottomEdge ? settingsColumn.top : undefined
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic