diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-10-28 04:57:16 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-10-28 04:57:16 (GMT) |
commit | d42846123ec17641d1e8a8082fab0d04ce93e8a1 (patch) | |
tree | cb3e89e38a1a441870e1bc89c9f732a57449b7c5 /src/declarative/qml/qmlexpression.cpp | |
parent | eaab2a271f0d73d5a413902169efe32741208c42 (diff) | |
download | Qt-d42846123ec17641d1e8a8082fab0d04ce93e8a1.zip Qt-d42846123ec17641d1e8a8082fab0d04ce93e8a1.tar.gz Qt-d42846123ec17641d1e8a8082fab0d04ce93e8a1.tar.bz2 |
Do not display transient binding errors
During QML startup, it is common to have "errors" in bindings as the apps
state stabilizes. These are not real errors, but just a consequence of
implementing a declarative UI in an imperative world. Now during startup,
the display of errors is delayed until the startup completes, and then only
bindings that are still in an error state are displayed.
QT-2373
Diffstat (limited to 'src/declarative/qml/qmlexpression.cpp')
-rw-r--r-- | src/declarative/qml/qmlexpression.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/declarative/qml/qmlexpression.cpp b/src/declarative/qml/qmlexpression.cpp index 8231bf8..e5e5cf9 100644 --- a/src/declarative/qml/qmlexpression.cpp +++ b/src/declarative/qml/qmlexpression.cpp @@ -293,6 +293,7 @@ QVariant QmlExpressionPrivate::evalQtScript(QObject *secondaryScope, bool *isUnd QFxPerfTimer<QFxPerf::BindValueQt> perfqt; #endif + QmlExpressionData *data = this->data; QmlContextPrivate *ctxtPriv = data->context()->d_func(); QmlEngine *engine = data->context()->engine(); QmlEnginePrivate *ep = QmlEnginePrivate::get(engine); |