forked from qt-creator/qt-creator
QmlJSInspectorAdapter: remove onObjectTreeUpdated()
Change-Id: I716ea2417cea5096abc7d740899c6988fe5dcbd8 Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
This commit is contained in:
@@ -102,8 +102,6 @@ QmlInspectorAdapter::QmlInspectorAdapter(QmlAdapter *debugAdapter,
|
|||||||
{
|
{
|
||||||
connect(m_agent, SIGNAL(objectFetched(QmlDebug::ObjectReference)),
|
connect(m_agent, SIGNAL(objectFetched(QmlDebug::ObjectReference)),
|
||||||
SLOT(onObjectFetched(QmlDebug::ObjectReference)));
|
SLOT(onObjectFetched(QmlDebug::ObjectReference)));
|
||||||
connect(m_agent, SIGNAL(objectTreeUpdated()),
|
|
||||||
SLOT(onObjectTreeUpdated()));
|
|
||||||
|
|
||||||
QmlDebugConnection *connection = m_debugAdapter->connection();
|
QmlDebugConnection *connection = m_debugAdapter->connection();
|
||||||
DeclarativeEngineDebugClient *engineClient1
|
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)
|
void QmlInspectorAdapter::createPreviewForEditor(Core::IEditor *newEditor)
|
||||||
{
|
{
|
||||||
if (!m_engineClientConnected)
|
if (!m_engineClientConnected)
|
||||||
|
@@ -87,7 +87,6 @@ private slots:
|
|||||||
void selectObjectsFromEditor(const QList<int> &debugIds);
|
void selectObjectsFromEditor(const QList<int> &debugIds);
|
||||||
void selectObjectsFromToolsClient(const QList<int> &debugIds);
|
void selectObjectsFromToolsClient(const QList<int> &debugIds);
|
||||||
void onObjectFetched(const QmlDebug::ObjectReference &ref);
|
void onObjectFetched(const QmlDebug::ObjectReference &ref);
|
||||||
void onObjectTreeUpdated();
|
|
||||||
|
|
||||||
void createPreviewForEditor(Core::IEditor *newEditor);
|
void createPreviewForEditor(Core::IEditor *newEditor);
|
||||||
void removePreviewForEditor(Core::IEditor *editor);
|
void removePreviewForEditor(Core::IEditor *editor);
|
||||||
|
Reference in New Issue
Block a user