Commit 7cffd42b authored by Nate Graham's avatar Nate Graham
Browse files

[applets/devicenotifier] Don't show empty header most of the time

This header needs to be shown only when not in the System Tray and also
when there are multiple  mounted removable devices. That's the only
circumstance under which it actually has anything in it.

BUG: 438351
FIXED-IN: 5.22.1
(cherry picked from commit 11a48a7a)
parent a657df42
......@@ -39,7 +39,7 @@ PlasmaComponents3.Page {
Layout.minimumHeight: PlasmaCore.Units.gridUnit * 12
header: PlasmaExtras.PlasmoidHeading {
visible: !(plasmoid.containmentDisplayHints & PlasmaCore.Types.ContainmentDrawsPlasmoidHeading) || devicenotifier.mountedRemovables > 1
visible: !(plasmoid.containmentDisplayHints & PlasmaCore.Types.ContainmentDrawsPlasmoidHeading) && devicenotifier.mountedRemovables > 1
PlasmaComponents3.ToolButton {
id: unmountAll
anchors.right: parent.right
......
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