aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp')
-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); }