Port away from deprecated signal param injection
This commit is contained in:
parent
5b5265f7a8
commit
131ed9a079
1 changed files with 2 additions and 2 deletions
|
@ -41,10 +41,10 @@ QtObject {
|
||||||
readonly property var v: DBusAsyncResponse {
|
readonly property var v: DBusAsyncResponse {
|
||||||
id: response
|
id: response
|
||||||
autoDelete: false
|
autoDelete: false
|
||||||
onSuccess: {
|
onSuccess: result => {
|
||||||
prop._value = result;
|
prop._value = result;
|
||||||
}
|
}
|
||||||
onError: {
|
onError: message => {
|
||||||
console.warn("failed call", object, read, write, change)
|
console.warn("failed call", object, read, write, change)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue