From f5877880c5596f953a8beee62a91c4e1a2b8a510 Mon Sep 17 00:00:00 2001 From: Fabian Kosmale Date: Mon, 1 Feb 2021 07:57:06 +0100 Subject: tst_qqmlecmascript: Adjust to QObjectCompatProperty change in qtbase Fixes: QTBUG-90786 Change-Id: Id05afbeb18b7c30246a29b95673a1319649f389f Reviewed-by: Andreas Buhr Reviewed-by: Maximilian Goldstein --- tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp b/tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp index 5f5f30a307..775026de2e 100644 --- a/tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp +++ b/tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp @@ -901,9 +901,9 @@ signals: public: float eager1() {return eager1Data;} - void setEager1(float f) {eager1Data = f;} + void setEager1(float f) {eager1Data.setValue(f);} float eager2() {return eager2Data;} - void setEager2(float f) {eager2Data = f;} + void setEager2(float f) {eager2Data.setValue(f);} QProperty value; QProperty value2; QBindable bindableValue() { return QBindable(&value); } -- cgit v1.2.3