diff --git a/src/corelib/kernel/qproperty.h b/src/corelib/kernel/qproperty.h index b6653c04114..9c4c1cfa484 100644 --- a/src/corelib/kernel/qproperty.h +++ b/src/corelib/kernel/qproperty.h @@ -183,10 +183,6 @@ public: : QUntypedPropertyBinding(QMetaType::fromType(), &QtPrivate::bindingFunctionVTable, PropertyType>, &f, location) {} - template - QPropertyBinding(const Property &property) - : QUntypedPropertyBinding(property.bindingData().binding()) - {} // Internal explicit QPropertyBinding(const QUntypedPropertyBinding &binding) @@ -423,7 +419,7 @@ public: QPropertyBinding binding() const { - return QPropertyBinding(*this); + return QPropertyBinding(QUntypedPropertyBinding(d.binding())); } QPropertyBinding takeBinding()