aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/util/qquickpropertychanges.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/quick/util/qquickpropertychanges.cpp')
-rw-r--r--src/quick/util/qquickpropertychanges.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/quick/util/qquickpropertychanges.cpp b/src/quick/util/qquickpropertychanges.cpp
index b7e02f730d..639ff88cc1 100644
--- a/src/quick/util/qquickpropertychanges.cpp
+++ b/src/quick/util/qquickpropertychanges.cpp
@@ -417,7 +417,8 @@ QQuickPropertyChangesPrivate::property(const QString &property)
Q_Q(QQuickPropertyChanges);
QQmlData *ddata = QQmlData::get(q);
QQmlProperty prop = QQmlPropertyPrivate::create(
- object, property, ddata ? ddata->outerContext : QQmlRefPointer<QQmlContextData>());
+ object, property, ddata ? ddata->outerContext : QQmlRefPointer<QQmlContextData>(),
+ QQmlPropertyPrivate::InitFlag::None);
if (!prop.isValid()) {
qmlWarning(q) << QQuickPropertyChanges::tr("Cannot assign to non-existent property \"%1\"").arg(property);
return QQmlProperty();