Debugger: Make map item display more compact

This adds more information to the top-level item
in map and hash entries.

Change-Id: Id43689fd0b968142ff2e9d06c58687a92b5b17c7
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
hjk
2016-09-21 16:54:30 +02:00
committed by hjk
parent cbdf673696
commit e4a5f5fa34
4 changed files with 36 additions and 94 deletions

View File

@@ -518,6 +518,7 @@ void WatchItem::parseHelper(const GdbMi &input, bool maySort)
QString key = subinput["key"].data();
if (!key.isEmpty())
child->name = decodeData(key, subinput["keyencoded"].data());
child->name = subinput["keyprefix"].data() + child->name;
child->parseHelper(subinput, maySort);
appendChild(child);
}