[plasma/kdeplasma-addons] kwin/effects/cube/package/contents/ui: kwin/efects/cube: replace deprecated QML Connections syntax
Vlad Zahorodnii <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git commit d84d0d023002102842c13e3e5ab2bf6709488cc9 by Vlad Zahorodnii, on behalf of Hynek Schlindenbuch.
Committed on 27/07/2026 at 06:04.
Pushed by vladz into branch 'master'.
kwin/efects/cube: replace deprecated QML Connections syntax
QML Connections: Implicitly defined onFoo properties in Connections are
deprecated. Use this syntax instead: function onFoo() { ... }
M +1 -1 kwin/effects/cube/package/contents/ui/ScreenView.qml
https://invent.kde.org/plasma/kdeplasma-addons/-/commit/d84d0d023002102842c13e3e5ab2bf6709488cc9
diff --git a/kwin/effects/cube/package/contents/ui/ScreenView.qml b/kwin/effects/cube/package/contents/ui/ScreenView.qml
index 9fe0cfabc..92e6cefae 100644
--- a/kwin/effects/cube/package/contents/ui/ScreenView.qml
+++ b/kwin/effects/cube/package/contents/ui/ScreenView.qml
@@ -168,7 +168,7 @@ Item {
Connections {
target: KWinComponents.Workspace
- onCurrentDesktopChanged: (previous, current, screen) => {
+ function onCurrentDesktopChanged(previous, current, screen) {
if (screen !== root.targetScreen) {
return;
}