Fix warnings about old style QML connections
This commit is contained in:
parent
0b99c3a637
commit
7b15a5eab7
1 changed files with 4 additions and 4 deletions
|
@ -29,8 +29,8 @@ QtObject {
|
||||||
readonly property var v: DBusAsyncResponse {
|
readonly property var v: DBusAsyncResponse {
|
||||||
id: availableResponse
|
id: availableResponse
|
||||||
autoDelete: false
|
autoDelete: false
|
||||||
onSuccess: { root.available = result; }
|
onSuccess: (result) => { root.available = result; }
|
||||||
onError: { root.available = false }
|
onError: () => { root.available = false }
|
||||||
}
|
}
|
||||||
|
|
||||||
function pluginsChanged() {
|
function pluginsChanged() {
|
||||||
|
@ -42,7 +42,7 @@ QtObject {
|
||||||
readonly property var vv: DBusAsyncResponse {
|
readonly property var vv: DBusAsyncResponse {
|
||||||
id: iconResponse
|
id: iconResponse
|
||||||
autoDelete: false
|
autoDelete: false
|
||||||
onSuccess: { root.iconName = result; }
|
onSuccess: (result) => { root.iconName = result; }
|
||||||
onError: { root.iconName = "" }
|
onError: () => { root.iconName = "" }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue