Verified Commit 68a7daff authored by Srevin Saju's avatar Srevin Saju 🎲
Browse files

fix: do not use Implicit QML function call

Qt 5.15 introduced new syntax for defining Connections. Fix warnings like this one:
    QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }

follow up of d2f33727
parent 7205c85b
......@@ -276,7 +276,9 @@ PlasmaCore.Dialog {
Connections {
target: workspace
onCurrentDesktopChanged: dialogItem.show()
function onCurrentDesktopChanged() {
dialogItem.show()
}
function onNumberDesktopsChanged() {
repeater.model = workspace.desktops;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment