From 4cbbe9ca7be2b07f928f4cc1554d9149d6d99f2a Mon Sep 17 00:00:00 2001 From: Kai Koehne <kai.koehne@nokia.com> Date: Fri, 1 Oct 2010 17:30:50 +0200 Subject: [PATCH] QmlInspector: Fix regression making the observer unusable We've to wait with reloadEngines until the services are actually enabled. --- src/plugins/qmljsinspector/qmljsclientproxy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/qmljsinspector/qmljsclientproxy.cpp b/src/plugins/qmljsinspector/qmljsclientproxy.cpp index d86f59cb78a..2521c91a573 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(); } -- GitLab