From 2bd8a00aaf01fbbefc3c3ec7baf14b32a93956b1 Mon Sep 17 00:00:00 2001 From: Aleix Pol Date: Sun, 21 Apr 2024 17:10:14 +0200 Subject: [PATCH] declarative: Fix error message There's no write property here, also print the actual error message. --- declarativeplugin/qml/DBusProperty.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/declarativeplugin/qml/DBusProperty.qml b/declarativeplugin/qml/DBusProperty.qml index b74f24778..beabb5e3d 100644 --- a/declarativeplugin/qml/DBusProperty.qml +++ b/declarativeplugin/qml/DBusProperty.qml @@ -45,7 +45,7 @@ QtObject { prop._value = result; } onError: message => { - console.warn("failed call", object, read, write, change) + console.warn("failed call", prop.object, prop.read, prop.change, message) } }