summaryrefslogtreecommitdiffstats
path: root/src/declarative
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2010-04-14 05:39:18 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2010-04-14 05:43:28 (GMT)
commit2bacca7ed7fc2d2cd5c3bfdd2b6b93a840d84341 (patch)
treeca2301deffcbbcd6b203d46a476177fcecf2cf6d /src/declarative
parent51d60cba524a2866385504032c7cd881a6d2d331 (diff)
downloadQt-2bacca7ed7fc2d2cd5c3bfdd2b6b93a840d84341.zip
Qt-2bacca7ed7fc2d2cd5c3bfdd2b6b93a840d84341.tar.gz
Qt-2bacca7ed7fc2d2cd5c3bfdd2b6b93a840d84341.tar.bz2
Compiled bindings should not print warnings where normal bindings don't
QTBUG-9813
Diffstat (limited to 'src/declarative')
-rw-r--r--src/declarative/qml/qdeclarativecompiledbindings.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/declarative/qml/qdeclarativecompiledbindings.cpp b/src/declarative/qml/qdeclarativecompiledbindings.cpp
index 0c824fc..bbce8a6 100644
--- a/src/declarative/qml/qdeclarativecompiledbindings.cpp
+++ b/src/declarative/qml/qdeclarativecompiledbindings.cpp
@@ -285,10 +285,8 @@ void QDeclarativeCompiledBindingsPrivate::run(Binding *binding, QDeclarativeProp
return;
QDeclarativeContextData *context = q->QDeclarativeAbstractExpression::context();
- if (!context) {
- qWarning("QDeclarativeCompiledBindings: Attempted to evaluate an expression in an invalid context");
+ if (!context)
return;
- }
if (!context->engine)
return;