diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-05-17 06:47:02 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-05-17 06:47:02 (GMT) |
commit | 45fe1dd88afb7b82c5fb39bfc4c70bcf16e5c0ea (patch) | |
tree | 62e5d8414eb2514f09431a281565630bcd38f3e1 | |
parent | 5227833d76ee072ab7497b790e8058fc79ea8826 (diff) | |
download | Qt-45fe1dd88afb7b82c5fb39bfc4c70bcf16e5c0ea.zip Qt-45fe1dd88afb7b82c5fb39bfc4c70bcf16e5c0ea.tar.gz Qt-45fe1dd88afb7b82c5fb39bfc4c70bcf16e5c0ea.tar.bz2 |
Don't call pure virtual method in ~QDeclarativeAbstractBinding()
-rw-r--r-- | src/declarative/qml/qdeclarativebinding.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |