Merge branch 'Plasma/5.19'

wilder-portage-prov
Nate Graham 6 years ago
commit 0616718afa
  1. 3
      applets/batterymonitor/package/contents/ui/PowerManagementItem.qml

@ -61,11 +61,9 @@ ColumnLayout {
ColumnLayout {
Layout.fillWidth: true
Layout.leftMargin: units.gridUnit + units.smallSpacing // width of checkbox and spacer
visible: inhibitingAppsList.visible || laptopLidWarning.visible
spacing: units.smallSpacing
InhibitionHint {
id: laptopLidWarning
Layout.fillWidth: true
visible: pmSource.data["PowerDevil"] && pmSource.data["PowerDevil"]["Is Lid Present"] && !pmSource.data["PowerDevil"]["Triggers Lid Action"] ? true : false
iconSource: "computer-laptop"
@ -73,7 +71,6 @@ ColumnLayout {
}
InhibitionHint {
id: inhibitingAppsList
Layout.fillWidth: true
visible: inhibitions.length > 0
iconSource: inhibitions.length > 0 ? inhibitions[0].Icon || "" : ""

Loading…
Cancel
Save