Commit 8a48ef78 authored by Kai Koehne's avatar Kai Koehne
Browse files

QmlJSInspector: Remove disconnect without a connect

parent 1cd2791d
......@@ -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) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment