summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabian Kosmale <fabian.kosmale@qt.io>2021-02-01 07:57:06 +0100
committerFabian Kosmale <fabian.kosmale@qt.io>2021-02-01 12:59:59 +0100
commitf5877880c5596f953a8beee62a91c4e1a2b8a510 (patch)
tree01af93b6525fda5ef8d5fc916224a229685f15f9
parent140794597059825864173a34d1d74108c3984856 (diff)
tst_qqmlecmascript: Adjust to QObjectCompatProperty change in qtbase
Fixes: QTBUG-90786 Change-Id: Id05afbeb18b7c30246a29b95673a1319649f389f Reviewed-by: Andreas Buhr <andreas.buhr@qt.io> Reviewed-by: Maximilian Goldstein <max.goldstein@qt.io>
-rw-r--r--tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp4
1 files changed, 2 insertions, 2 deletions
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<float> value;
QProperty<float> value2;
QBindable<float> bindableValue() { return QBindable<float>(&value); }