Commit 2592e6ee authored by Oswald Buddenhagen's avatar Oswald Buddenhagen
Browse files

non-python: fix dumping of structs inside qt containers

Reviewed-by: hjk
parent 20764c22
......@@ -813,7 +813,7 @@ void GdbEngine::handleVarListChildrenHelperClassic(const GdbMi &item,
data.type = tr("<anonymous union>");
} else {
// A structure. Hope there's nothing else...
data.exp = parent.exp + '.' + data.name.toLatin1();
data.exp = '(' + parent.exp + ")." + data.name.toLatin1();
}
if (hasDebuggingHelperForType(data.type)) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment