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"
This commit is contained in:
Vlad Zahorodnii 2023-03-01 19:30:16 +02:00
parent 77a1aea281
commit 31b21618b3

View file

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