From 4f7812338e765c0cbfb1fe940b7ba7a2008e86b0 Mon Sep 17 00:00:00 2001 From: Michail Vourlakos Date: Sun, 22 May 2022 11:21:02 +0300 Subject: [PATCH] plasmoid:add virtualdesktops binder --- plasmoid/package/contents/ui/ContextMenu.qml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) 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 {