aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquickdesignersupport
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@theqtcompany.com>2015-09-06 10:39:42 +0200
committerLiang Qi <liang.qi@theqtcompany.com>2015-09-06 10:39:51 +0200
commit68607aeeeb6ba84b843a0e3d848a5438a36f55a7 (patch)
treef7ff7ef369e079599d8be73f909498aeb6e75201 /tests/auto/quick/qquickdesignersupport
parenta719e348d22b1ce158a7b2be878965ac3a258914 (diff)
parent42f58e557034bb95005db465f078212cfc1b693a (diff)
Merge remote-tracking branch 'origin/5.6' into dev
Diffstat (limited to 'tests/auto/quick/qquickdesignersupport')
-rw-r--r--tests/auto/quick/qquickdesignersupport/tst_qquickdesignersupport.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/quick/qquickdesignersupport/tst_qquickdesignersupport.cpp b/tests/auto/quick/qquickdesignersupport/tst_qquickdesignersupport.cpp
index 49535783c1..1104ce1d98 100644
--- a/tests/auto/quick/qquickdesignersupport/tst_qquickdesignersupport.cpp
+++ b/tests/auto/quick/qquickdesignersupport/tst_qquickdesignersupport.cpp
@@ -394,7 +394,8 @@ void tst_qquickdesignersupport::statesPropertyChanges()
//Create new PropertyChanges
QQuickPropertyChanges *newPropertyChange = new QQuickPropertyChanges();
newPropertyChange->setParent(state01);
- QQuickStatePrivate::operations_append(&state01->changes(), newPropertyChange);
+ QQmlListProperty<QQuickStateOperation> changes = state01->changes();
+ QQuickStatePrivate::operations_append(&changes, newPropertyChange);
newPropertyChange->setObject(rootItem);