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

@@ -1029,7 +1029,7 @@ void LldbEngine::refreshLocals(const GdbMi &vars)
name = QString::fromLatin1(child["name"].data());
WatchItem *item = new WatchItem(iname, name);
item->parseWatchData(handler->expandedINames(), child);
item->parseWatchData(child);
if (wname.isValid())
item->d.exp = name.toUtf8();