Port away from deprecated signal param injection

This commit is contained in:
Alexander Lohnau 2023-04-29 15:54:38 +02:00
parent 5b5265f7a8
commit 131ed9a079

View file

@ -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)
} }
} }