diff --git a/src/corelib/kernel/qproperty.cpp b/src/corelib/kernel/qproperty.cpp index d25952c0bf..c742e2194a 100644 --- a/src/corelib/kernel/qproperty.cpp +++ b/src/corelib/kernel/qproperty.cpp @@ -142,8 +142,8 @@ QUntypedPropertyBinding::QUntypedPropertyBinding() = default; QUntypedPropertyBinding::QUntypedPropertyBinding(QMetaType metaType, QUntypedPropertyBinding::BindingEvaluationFunction function, const QPropertyBindingSourceLocation &location) + : d(new QPropertyBindingPrivate(metaType, std::move(function), std::move(location))) { - d = new QPropertyBindingPrivate(metaType, std::move(function), std::move(location)); } QUntypedPropertyBinding::QUntypedPropertyBinding(QUntypedPropertyBinding &&other)