forked from qt-creator/qt-creator
QmlJSInspector: Remove disconnect without a connect
This commit is contained in:
@@ -132,8 +132,6 @@ void ClientProxy::disconnectFromServer()
|
|||||||
this, SIGNAL(selectedColorChanged(QColor)));
|
this, SIGNAL(selectedColorChanged(QColor)));
|
||||||
disconnect(m_designClient, SIGNAL(contextPathUpdated(QStringList)),
|
disconnect(m_designClient, SIGNAL(contextPathUpdated(QStringList)),
|
||||||
this, SIGNAL(contextPathUpdated(QStringList)));
|
this, SIGNAL(contextPathUpdated(QStringList)));
|
||||||
disconnect(m_designClient, SIGNAL(treeRefreshRequested()),
|
|
||||||
this, SLOT(refreshObjectTree()));
|
|
||||||
|
|
||||||
delete m_designClient;
|
delete m_designClient;
|
||||||
m_designClient = 0;
|
m_designClient = 0;
|
||||||
@@ -165,6 +163,7 @@ void ClientProxy::onCurrentObjectsChanged(const QList< int >& debugIds, bool req
|
|||||||
{
|
{
|
||||||
QList<QDeclarativeDebugObjectReference> selectedItems;
|
QList<QDeclarativeDebugObjectReference> selectedItems;
|
||||||
|
|
||||||
|
qDebug() << __FUNCTION__ << debugIds;
|
||||||
foreach (int debugId, debugIds) {
|
foreach (int debugId, debugIds) {
|
||||||
QDeclarativeDebugObjectReference ref = objectReferenceForId(debugId);
|
QDeclarativeDebugObjectReference ref = objectReferenceForId(debugId);
|
||||||
if (ref.debugId() != -1) {
|
if (ref.debugId() != -1) {
|
||||||
|
|||||||
Reference in New Issue
Block a user