scripts/desktopchangeosd: Minor cleanup

Workspace.desktops is a property so the binding will be updated
automatically when the desktops change. There's also no a signal with
name "numberDesktopsChanged"
remotes/origin/work/zzag/geometry-changed-no-window
Vlad Zahorodnii 3 years ago
parent 77a1aea281
commit 31b21618b3
  1. 3
      src/scripts/desktopchangeosd/contents/ui/osd.qml

@ -276,9 +276,6 @@ PlasmaCore.Dialog {
function onCurrentDesktopChanged() {
dialogItem.show()
}
function onNumberDesktopsChanged() {
repeater.model = Workspace.desktops;
}
}
Connections {
target: Options

Loading…
Cancel
Save