diff options
author | Bea Lam <bea.lam@nokia.com> | 2010-04-16 05:33:41 (GMT) |
---|---|---|
committer | Bea Lam <bea.lam@nokia.com> | 2010-04-16 05:38:23 (GMT) |
commit | 34a1a6b5d6399e7bcad136fdaa9a050a0f8bb2dc (patch) | |
tree | 9d7585945744454937ac495d7f729a9386f755bb /src/declarative/qml | |
parent | b458d672dbec892f00019edc1fe06156190401c7 (diff) | |
download | Qt-34a1a6b5d6399e7bcad136fdaa9a050a0f8bb2dc.zip Qt-34a1a6b5d6399e7bcad136fdaa9a050a0f8bb2dc.tar.gz Qt-34a1a6b5d6399e7bcad136fdaa9a050a0f8bb2dc.tar.bz2 |
Wait for debug clients asynchronously instead of blocking creation of
the engine until a debug client has connected. This makes for easier
debugging from Qt Creator when debugging C++ and QML together and when
debugging an application that has multiple engines.
Diffstat (limited to 'src/declarative/qml')
-rw-r--r-- | src/declarative/qml/qdeclarativeengine.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/declarative/qml/qdeclarativeengine.cpp b/src/declarative/qml/qdeclarativeengine.cpp index cfdc79e..4dbd199 100644 --- a/src/declarative/qml/qdeclarativeengine.cpp +++ b/src/declarative/qml/qdeclarativeengine.cpp @@ -390,8 +390,6 @@ void QDeclarativeEnginePrivate::init() qmlEngineDebugServer(); isDebugging = true; QDeclarativeEngineDebugServer::addEngine(q); - - qmlEngineDebugServer()->waitForClients(); } } |