Commit 22371970 authored by Nicolas Fella's avatar Nicolas Fella

[kcm] Move inactive devices button to footer

Instead of having it somewhere in the list.
parent befc031e
......@@ -114,17 +114,6 @@ ScrollViewKCM {
}
}
Button {
id: inactiveDevicesButton
Layout.alignment: Qt.AlignHCenter
checkable: true
text: i18nd("kcm_pulseaudio", "Show Inactive Devices")
icon.name: "view-visible"
// Only show if there actually are any inactive devices
visible: (paSourceModel.count != paSourceFilterModel.count) || (paSinkModel.count != paSinkFilterModel.count)
}
Kirigami.ListSectionHeader {
Layout.fillWidth: true
visible: eventStreamView.count || sinkInputView.count
......@@ -195,6 +184,17 @@ ScrollViewKCM {
}
footer: RowLayout {
Button {
id: inactiveDevicesButton
checkable: true
text: i18nd("kcm_pulseaudio", "Show Inactive Devices")
icon.name: "view-visible"
// Only show if there actually are any inactive devices
visible: (paSourceModel.count != paSourceFilterModel.count) || (paSinkModel.count != paSinkFilterModel.count)
}
Button {
text: i18n("Configure...")
icon.name: "configure"
......
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