diff --git a/plasmoid/package/contents/ui/ContextMenu.qml b/plasmoid/package/contents/ui/ContextMenu.qml index 13f21a8de..ba5fa1265 100644 --- a/plasmoid/package/contents/ui/ContextMenu.qml +++ b/plasmoid/package/contents/ui/ContextMenu.qml @@ -358,16 +358,11 @@ PlasmaComponents.ContextMenu { text: i18n("Move To &Desktop") - Connections { - target: virtualDesktopInfo - - onNumberOfDesktopsChanged: Qt.callLater(virtualDesktopsMenu.refresh) - onDesktopNamesChanged: Qt.callLater(virtualDesktopsMenu.refresh) - } - Connections { target: virtualDesktopInfo onDesktopIdsChanged: Qt.callLater(virtualDesktopsMenu.refresh) + onDesktopNamesChanged: Qt.callLater(virtualDesktopsMenu.refresh) + onNumberOfDesktopsChanged: Qt.callLater(virtualDesktopsMenu.refresh) } PlasmaComponents.ContextMenu {