Commit d95828b3 authored by Nate Graham's avatar Nate Graham
Browse files

[sidebar view] Use a real QQC2 ToolBar for the footer

No need to manufacture our own toolbar out of rectangles and separators
when there's a ready-made component that already does this!
parent d9156a37
......@@ -194,31 +194,18 @@ Kirigami.ScrollablePage {
footer: Rectangle {
Kirigami.Theme.colorSet: Kirigami.Theme.Window
Kirigami.Theme.inherit: false
color: Kirigami.Theme.backgroundColor
width: mainColumn.width
height: Kirigami.Units.gridUnit * 2
footer: QQC2.ToolBar {
visible: systemsettings.applicationMode == SystemSettings.SystemSettings
QQC2.ToolButton {
anchors {
fill: parent
margins: Kirigami.Units.smallSpacing
anchors.fill: parent
text: i18nc("Action to show indicators for settings with custom data", "Highlight Changed Settings") "draw-highlight"
onClicked: systemsettings.toggleDefaultsIndicatorsVisibility()
checkable: true
checked: systemsettings.defaultsIndicatorsVisible
Kirigami.Separator {
anchors {
left: parent.left
right: parent.right
Supports Markdown
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