Commit e4677d5a authored by Simjees Abraham's avatar Simjees Abraham Committed by Aurindam Jana

Debugger: Engines Queried on Reload of Qml.

Change-Id: I75de9fa584af8eb22a3eac6b0ab9d30b87d2ed69
Reviewed-by: default avatarAurindam Jana <aurindam.jana@nokia.com>
parent bd5fe524
......@@ -593,6 +593,7 @@ void QmlInspectorAdapter::onReloaded()
QmlJS::Document::Ptr doc = snapshot.document(it.key());
it.value()->resetInitialDoc(doc);
}
m_agent->reloadEngines();
}
void QmlInspectorAdapter::onDestroyedObject(int objectDebugId)
......
......@@ -90,6 +90,7 @@ public:
void setEngineClient(QmlDebug::BaseEngineDebugClient *client);
QString displayName(int objectDebugId) const;
int parentIdForObject(int objectDebugId);
void reloadEngines();
public slots:
void fetchContextObjectsForLocation(const QString &file,
......@@ -110,7 +111,6 @@ private slots:
void onValueChanged(int debugId, const QByteArray &propertyName, const QVariant &value);
private:
void reloadEngines();
void fetchObjectsInContextRecursive(const QmlDebug::ContextReference &context);
void objectTreeFetched(const QmlDebug::ObjectReference &result);
......
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