diff --git a/src/corelib/kernel/qproperty_p.h b/src/corelib/kernel/qproperty_p.h index b4d41a362b..d0a2882293 100644 --- a/src/corelib/kernel/qproperty_p.h +++ b/src/corelib/kernel/qproperty_p.h @@ -471,6 +471,12 @@ public: this->val = t; } + QObjectCompatProperty &operator=(parameter_type newValue) + { + setValue(newValue); + return *this; + } + QPropertyBinding setBinding(const QPropertyBinding &newBinding) { QtPrivate::QPropertyBindingData *bd = qGetBindingStorage(owner())->bindingData(this, true);