From 8a48ef786965b849d3c120a4963eaccc6121908c Mon Sep 17 00:00:00 2001
From: Kai Koehne <kai.koehne@nokia.com>
Date: Fri, 1 Oct 2010 16:58:11 +0200
Subject: [PATCH] QmlJSInspector: Remove disconnect without a connect

---
 src/plugins/qmljsinspector/qmljsclientproxy.cpp | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/plugins/qmljsinspector/qmljsclientproxy.cpp b/src/plugins/qmljsinspector/qmljsclientproxy.cpp
index 4bd763c7fde..59d430f5e02 100644
--- a/src/plugins/qmljsinspector/qmljsclientproxy.cpp
+++ b/src/plugins/qmljsinspector/qmljsclientproxy.cpp
@@ -132,8 +132,6 @@ void ClientProxy::disconnectFromServer()
             this, SIGNAL(selectedColorChanged(QColor)));
         disconnect(m_designClient, SIGNAL(contextPathUpdated(QStringList)),
             this, SIGNAL(contextPathUpdated(QStringList)));
-        disconnect(m_designClient, SIGNAL(treeRefreshRequested()),
-            this, SLOT(refreshObjectTree()));
 
         delete m_designClient;
         m_designClient = 0;
@@ -165,6 +163,7 @@ void ClientProxy::onCurrentObjectsChanged(const QList< int >& debugIds, bool req
 {
     QList<QDeclarativeDebugObjectReference> selectedItems;
 
+    qDebug() << __FUNCTION__ << debugIds;
     foreach (int debugId, debugIds) {
         QDeclarativeDebugObjectReference ref = objectReferenceForId(debugId);
         if (ref.debugId() != -1) {
-- 
GitLab