Commit 727db59f authored by Nathaniel Graham's avatar Nathaniel Graham

Move power management checkbox to the top

Summary:
BUG: 345940

Move the "Enable Power Management" checkbox to the top of the window to match other applets (bluetooth, network)

Reviewers: #plasma_workspaces, broulik, mck182, davidedmundson, mart

Reviewed By: #plasma_workspaces, davidedmundson, mart

Subscribers: mart, jensreuterberg, davidedmundson, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D8607
parent fac2fafc
......@@ -63,6 +63,14 @@ FocusScope {
visible: false
}
PowerManagementItem {
id: pmSwitch
width: parent.width
onEnabledChanged: powermanagementChanged(enabled)
KeyNavigation.tab: batteryList
KeyNavigation.backtab: keyboardBrightnessSlider
}
BrightnessItem {
id: brightnessSlider
width: parent.width
......@@ -100,14 +108,6 @@ FocusScope {
onKeyboardBrightnessChanged: keyboardBrightnessSlider.value = batterymonitor.keyboardBrightness
}
}
PowerManagementItem {
id: pmSwitch
width: parent.width
onEnabledChanged: powermanagementChanged(enabled)
KeyNavigation.tab: batteryList
KeyNavigation.backtab: keyboardBrightnessSlider
}
}
PlasmaExtras.ScrollArea {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment