diff options
author | Kai Koehne <kai.koehne@nokia.com> | 2010-10-01 17:30:50 +0200 |
---|---|---|
committer | Kai Koehne <kai.koehne@nokia.com> | 2010-10-01 17:34:06 +0200 |
commit | 4cbbe9ca7be2b07f928f4cc1554d9149d6d99f2a (patch) | |
tree | 309cc5d80f0e537408579d6ad2af8d81a45c20ee /src/plugins/qmljsinspector/qmljsclientproxy.cpp | |
parent | 83e2a378508935b400d83aa08f8a89d4f7e78339 (diff) | |
download | qt-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.cpp | 2 |
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(); } |