forked from qt-creator/qt-creator
Debugger: Rename WatchHandler::remove{Data->ItemByIName}
That's what it does. Change-Id: If1a1bf91220630ad09e5ec8636ccb9d67c8d0947 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
@@ -775,7 +775,7 @@ QList<WatchData> QmlInspectorAgent::buildWatchData(const ObjectReference &obj,
|
||||
// hence we can insert the data in the correct position
|
||||
const QByteArray oldIname = m_debugIdToIname.value(objDebugId);
|
||||
if (oldIname != objIname)
|
||||
m_debuggerEngine->watchHandler()->removeData(oldIname);
|
||||
m_debuggerEngine->watchHandler()->removeItemByIName(oldIname);
|
||||
}
|
||||
m_debugIdToIname.insert(objDebugId, objIname);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user