From 131ed9a0796041759df585ed1a7333ee09732fa6 Mon Sep 17 00:00:00 2001 From: Alexander Lohnau Date: Sat, 29 Apr 2023 15:54:38 +0200 Subject: [PATCH] Port away from deprecated signal param injection --- declarativeplugin/qml/DBusProperty.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/declarativeplugin/qml/DBusProperty.qml b/declarativeplugin/qml/DBusProperty.qml index ce8bd51c9..b74f24778 100644 --- a/declarativeplugin/qml/DBusProperty.qml +++ b/declarativeplugin/qml/DBusProperty.qml @@ -41,10 +41,10 @@ QtObject { readonly property var v: DBusAsyncResponse { id: response autoDelete: false - onSuccess: { + onSuccess: result => { prop._value = result; } - onError: { + onError: message => { console.warn("failed call", object, read, write, change) } }