From ff61ed1d85ad78445e502e40bda9678dccb53fcf Mon Sep 17 00:00:00 2001 From: Aaron Kennedy Date: Tue, 18 Oct 2011 13:19:57 +1000 Subject: [PATCH] Fix assert Change-Id: I6db293c278f10be7e998ed15fe93b9d328474e6a Reviewed-by: Martin Jones Reviewed-by: Aaron Kennedy --- src/declarative/qml/qdeclarativeproperty.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/declarative/qml/qdeclarativeproperty.cpp b/src/declarative/qml/qdeclarativeproperty.cpp index a402d24..7a43ef1 100644 --- a/src/declarative/qml/qdeclarativeproperty.cpp +++ b/src/declarative/qml/qdeclarativeproperty.cpp @@ -1301,7 +1301,7 @@ bool QDeclarativePropertyPrivate::writeBinding(QObject *object, WriteFlags flags) { Q_ASSERT(object); - Q_ASSERT(core.coreIndex); + Q_ASSERT(core.coreIndex != -1); QDeclarativeContextData *context = expression->context(); QDeclarativeEngine *engine = context->engine; -- 1.7.2.5