From 9ded353fb16b64de3d7f8f773e64884378783688 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Bidar?= Date: Mon, 22 Apr 2024 17:33:29 +0300 Subject: [PATCH] Don't use deprecated onFoo property syntax MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes: `QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { ... }` Signed-off-by: Björn Bidar --- plasmoid/contents/ui/main.qml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plasmoid/contents/ui/main.qml b/plasmoid/contents/ui/main.qml index 509f10d..9e22158 100644 --- a/plasmoid/contents/ui/main.qml +++ b/plasmoid/contents/ui/main.qml @@ -37,16 +37,16 @@ PlasmoidItem { Connections { target : plasmoid.configuration - onFilterByCurrentScreenChanged : { + function onFilterByCurrentScreenChanged() { i3pager.updateWorkspaces(); } - onOrderWorkspacesByChanged : { + function onOrderWorkspacesByChanged() { i3pager.updateWorkspaces(); } - onScreenNameListChanged : { + function onScreenNameListChanged() { i3pager.updateWorkspaces(); } - onIndicatorPositionChanged : { + function onIndicatorPositionChanged() { i3pager.updateWorkspaces(); } }