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 d2f3372749
icc-effect-5.26.4
parent
7205c85b98
commit
68a7daff58
|
@ -276,7 +276,9 @@ PlasmaCore.Dialog {
|
|||
|
||||
Connections {
|
||||
target: workspace
|
||||
onCurrentDesktopChanged: dialogItem.show()
|
||||
function onCurrentDesktopChanged() {
|
||||
dialogItem.show()
|
||||
}
|
||||
function onNumberDesktopsChanged() {
|
||||
repeater.model = workspace.desktops;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue