summaryrefslogtreecommitdiff
path: root/src/plugins/qmljsinspector/qmljsclientproxy.cpp
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@nokia.com>2010-10-01 17:30:50 +0200
committerKai Koehne <kai.koehne@nokia.com>2010-10-01 17:34:06 +0200
commit4cbbe9ca7be2b07f928f4cc1554d9149d6d99f2a (patch)
tree309cc5d80f0e537408579d6ad2af8d81a45c20ee /src/plugins/qmljsinspector/qmljsclientproxy.cpp
parent83e2a378508935b400d83aa08f8a89d4f7e78339 (diff)
downloadqt-creator-4cbbe9ca7be2b07f928f4cc1554d9149d6d99f2a.tar.gz
QmlInspector: Fix regression making the observer unusable
We've to wait with reloadEngines until the services are actually enabled.
Diffstat (limited to 'src/plugins/qmljsinspector/qmljsclientproxy.cpp')
-rw-r--r--src/plugins/qmljsinspector/qmljsclientproxy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qmljsinspector/qmljsclientproxy.cpp b/src/plugins/qmljsinspector/qmljsclientproxy.cpp
index d86f59cb78..2521c91a57 100644
--- a/src/plugins/qmljsinspector/qmljsclientproxy.cpp
+++ b/src/plugins/qmljsinspector/qmljsclientproxy.cpp
@@ -92,7 +92,6 @@ void ClientProxy::connectToServer()
connect(m_designClient, SIGNAL(contextPathUpdated(QStringList)),
SIGNAL(contextPathUpdated(QStringList)));
- reloadEngines();
updateConnected();
}
@@ -504,6 +503,7 @@ void ClientProxy::updateConnected()
m_isConnected = isConnected;
if (isConnected) {
emit connected();
+ reloadEngines();
} else {
emit disconnected();
}