Debugger: Simplify calls to parseChildrenData

Having access to the expanded inames doesn't make a difference.

Change-Id: Ic833f647c2c135f213dd621e28a9be98809e0b04
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
This commit is contained in:
hjk
2015-01-29 13:25:35 +01:00
parent ec7062d08f
commit 1eb507afbd
8 changed files with 25 additions and 37 deletions

View File

@@ -808,7 +808,7 @@ void PdbEngine::handleListLocals(const PdbResponse &response)
foreach (const GdbMi &child, all.children()) {
WatchItem *item = new WatchItem(child["iname"].data(), _(child["name"].data()));
item->parseWatchData(handler->expandedINames(), child);
item->parseWatchData(child);
handler->insertItem(item);
toDelete.remove(item->d.iname);
}