summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlengine_p.h
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2009-10-28 04:57:16 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2009-10-28 04:57:16 (GMT)
commitd42846123ec17641d1e8a8082fab0d04ce93e8a1 (patch)
treecb3e89e38a1a441870e1bc89c9f732a57449b7c5 /src/declarative/qml/qmlengine_p.h
parenteaab2a271f0d73d5a413902169efe32741208c42 (diff)
downloadQt-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/qmlengine_p.h')
-rw-r--r--src/declarative/qml/qmlengine_p.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/declarative/qml/qmlengine_p.h b/src/declarative/qml/qmlengine_p.h
index 69b121e..efd26bf 100644
--- a/src/declarative/qml/qmlengine_p.h
+++ b/src/declarative/qml/qmlengine_p.h
@@ -98,6 +98,7 @@ class QmlTypeNameCache;
class QmlComponentAttached;
class QmlListScriptClass;
class QmlCleanup;
+class QmlBindingData;
class QmlEnginePrivate : public QObjectPrivate
{
@@ -143,6 +144,10 @@ public:
// Registered cleanup handlers
QmlCleanup *cleanup;
+ // Bindings that have had errors during startup
+ QmlBindingData *erroredBindings;
+ int inProgressCreations;
+
struct QmlScriptEngine : public QScriptEngine
{
QmlScriptEngine(QmlEnginePrivate *priv)