diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-04-14 02:59:55 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-04-14 02:59:55 (GMT) |
commit | 078584f79a5f0893d55c893bede61f91b5ccb392 (patch) | |
tree | 20136184d38e73d7b88b51f424c5bf8869c0480b /src/declarative | |
parent | 5a1a3ab59e96bb5b2968883160564eb24d011859 (diff) | |
download | Qt-078584f79a5f0893d55c893bede61f91b5ccb392.zip Qt-078584f79a5f0893d55c893bede61f91b5ccb392.tar.gz Qt-078584f79a5f0893d55c893bede61f91b5ccb392.tar.bz2 |
Don't warn on signals emitted after the context has been destroyed
QTBUG-9792
Diffstat (limited to 'src/declarative')
-rw-r--r-- | src/declarative/qml/qdeclarativeboundsignal.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/qml/qdeclarativeboundsignal.cpp b/src/declarative/qml/qdeclarativeboundsignal.cpp index 762c6428..8c7a977 100644 --- a/src/declarative/qml/qdeclarativeboundsignal.cpp +++ b/src/declarative/qml/qdeclarativeboundsignal.cpp @@ -176,7 +176,7 @@ int QDeclarativeBoundSignal::qt_metacall(QMetaObject::Call c, int id, void **a) } if (m_params) m_params->setValues(a); - if (m_expression) { + if (m_expression && m_expression->engine()) { QDeclarativeExpressionPrivate::get(m_expression)->value(m_params); if (m_expression && m_expression->hasError()) qWarning().nospace() << qPrintable(m_expression->error().toString()); |