forked from qt-creator/qt-creator
QmlInspectorAdapter: remove connection to destroyedObject
signal which was removed in ec7a949416
Change-Id: I63dfc920c9ea3f97fbf463c55f03b200374e17c2
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
Reviewed-by: Marco Benelli <marco.benelli@theqtcompany.com>
Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
@@ -203,7 +203,6 @@ void QmlInspectorAdapter::toolsClientStateChanged(QmlDebugClient::State state)
|
||||
connect(client, SIGNAL(logActivity(QString,QString)),
|
||||
m_debugAdapter, SLOT(logServiceActivity(QString,QString)));
|
||||
connect(client, SIGNAL(reloaded()), SLOT(onReloaded()));
|
||||
connect(client, SIGNAL(destroyedObject(int)), SLOT(onDestroyedObject(int)));
|
||||
|
||||
// register actions here
|
||||
// because there can be multiple QmlEngines
|
||||
@@ -364,11 +363,6 @@ void QmlInspectorAdapter::onReloaded()
|
||||
m_agent->reloadEngines();
|
||||
}
|
||||
|
||||
void QmlInspectorAdapter::onDestroyedObject(int objectDebugId)
|
||||
{
|
||||
m_agent->fetchObject(m_agent->parentIdForObject(objectDebugId));
|
||||
}
|
||||
|
||||
void QmlInspectorAdapter::onEngineStateChanged(const DebuggerState state)
|
||||
{
|
||||
enableTools(state == InferiorRunOk);
|
||||
|
@@ -83,7 +83,6 @@ private slots:
|
||||
void onZoomActionTriggered(bool checked);
|
||||
void onShowAppOnTopChanged(bool checked);
|
||||
void onReloaded();
|
||||
void onDestroyedObject(int);
|
||||
void jumpToObjectDefinitionInEditor(const QmlDebug::FileReference &objSource, int debugId = -1);
|
||||
|
||||
private:
|
||||
|
Reference in New Issue
Block a user