Completely hide plamoid in system tray if no device is connected

This commit is contained in:
Nicolas Fella 2019-06-20 16:22:43 +00:00
parent 0d0ca2e5ff
commit f9dee192b5

View file

@ -38,7 +38,7 @@ Item
Binding { Binding {
target: plasmoid target: plasmoid
property: "status" property: "status"
value: (connectDeviceModel.count > 0) ? PlasmaCore.Types.ActiveStatus : PlasmaCore.Types.PassiveStatus value: (connectDeviceModel.count > 0) ? PlasmaCore.Types.ActiveStatus : PlasmaCore.Types.HiddenStatus
} }
Plasmoid.fullRepresentation: FullRepresentation { Plasmoid.fullRepresentation: FullRepresentation {