From a31dd9fd64003a1a209e358f0dccabd46ae6e4ed Mon Sep 17 00:00:00 2001 From: ivan tkachenko Date: Tue, 9 Nov 2021 01:03:33 +0300 Subject: [PATCH] [applets/batterymonitor] Flatten one extra RowLayout It was left after previous refactoring. There were actually more items in this row. --- .../package/contents/ui/PowerManagementItem.qml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/applets/batterymonitor/package/contents/ui/PowerManagementItem.qml b/applets/batterymonitor/package/contents/ui/PowerManagementItem.qml index e6d494b40..b17c5b970 100644 --- a/applets/batterymonitor/package/contents/ui/PowerManagementItem.qml +++ b/applets/batterymonitor/package/contents/ui/PowerManagementItem.qml @@ -19,16 +19,12 @@ ColumnLayout { spacing: 0 - RowLayout { + PlasmaComponents3.CheckBox { + id: pmCheckBox Layout.fillWidth: true Layout.leftMargin: PlasmaCore.Units.smallSpacing - - PlasmaComponents3.CheckBox { - id: pmCheckBox - Layout.fillWidth: true - text: i18nc("Minimize the length of this string as much as possible", "Inhibit automatic sleep and screen locking") - checked: false - } + text: i18nc("Minimize the length of this string as much as possible", "Inhibit automatic sleep and screen locking") + checked: false } ColumnLayout {