From 45fe1dd88afb7b82c5fb39bfc4c70bcf16e5c0ea Mon Sep 17 00:00:00 2001 From: Aaron Kennedy Date: Mon, 17 May 2010 16:47:02 +1000 Subject: Don't call pure virtual method in ~QDeclarativeAbstractBinding() --- src/declarative/qml/qdeclarativebinding.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/declarative/qml/qdeclarativebinding.cpp b/src/declarative/qml/qdeclarativebinding.cpp index 8043ea9..3e729c2 100644 --- a/src/declarative/qml/qdeclarativebinding.cpp +++ b/src/declarative/qml/qdeclarativebinding.cpp @@ -286,7 +286,7 @@ QDeclarativeAbstractBinding::QDeclarativeAbstractBinding() QDeclarativeAbstractBinding::~QDeclarativeAbstractBinding() { - removeFromObject(); + Q_ASSERT(m_prevBinding == 0); if (m_mePtr) *m_mePtr = 0; } -- cgit v0.12