QmlJSInspector: Remove disconnect without a connect

This commit is contained in:
Kai Koehne
2010-10-01 16:58:11 +02:00
parent 1cd2791d23
commit 8a48ef7869

View File

@@ -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) {