QmlJSInspectorAdapter: remove onObjectTreeUpdated()

Change-Id: I716ea2417cea5096abc7d740899c6988fe5dcbd8
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
This commit is contained in:
Aurindam Jana
2012-05-14 17:03:19 +02:00
parent 303e5522f6
commit c14c1248ed
2 changed files with 0 additions and 12 deletions

View File

@@ -102,8 +102,6 @@ QmlInspectorAdapter::QmlInspectorAdapter(QmlAdapter *debugAdapter,
{
connect(m_agent, SIGNAL(objectFetched(QmlDebug::ObjectReference)),
SLOT(onObjectFetched(QmlDebug::ObjectReference)));
connect(m_agent, SIGNAL(objectTreeUpdated()),
SLOT(onObjectTreeUpdated()));
QmlDebugConnection *connection = m_debugAdapter->connection();
DeclarativeEngineDebugClient *engineClient1
@@ -327,15 +325,6 @@ void QmlInspectorAdapter::onObjectFetched(const ObjectReference &ref)
}
}
void QmlInspectorAdapter::onObjectTreeUpdated()
{
if (m_currentSelectedDebugId == -1) {
// select root element on startup
if (!m_agent->rootObjects().isEmpty())
selectObject(m_agent->rootObjects().first(), NoTarget);
}
}
void QmlInspectorAdapter::createPreviewForEditor(Core::IEditor *newEditor)
{
if (!m_engineClientConnected)

View File

@@ -87,7 +87,6 @@ private slots:
void selectObjectsFromEditor(const QList<int> &debugIds);
void selectObjectsFromToolsClient(const QList<int> &debugIds);
void onObjectFetched(const QmlDebug::ObjectReference &ref);
void onObjectTreeUpdated();
void createPreviewForEditor(Core::IEditor *newEditor);
void removePreviewForEditor(Core::IEditor *editor);