Commit 82170f00 authored by Friedemann Kleint's avatar Friedemann Kleint Committed by hjk
Browse files

CDB: Dump Qt 5 / QString correctly.

Adapt to recent change basing QStringData on QTypedArrayData.

Change-Id: I8145015e31ca10bc484d01e8082a2f97d6750285
Reviewed-by: default avatarhjk <>
parent efbe3578
......@@ -1495,7 +1495,10 @@ static inline bool dumpQString(const SymbolGroupValue &v, std::wostream &str)
wchar_t *memory;
unsigned fullSize;
unsigned size;
if (!readQt5StringData(dV, qtInfo.version, true, 10240, &fullSize, &size, &memory))
const SymbolGroupValue typeArrayV = dV[unsigned(0)];
if (!typeArrayV)
return false;
if (!readQt5StringData(typeArrayV, qtInfo.version, true, 10240, &fullSize, &size, &memory))
return false;
if (size) {
str << L'"' << memory;
Supports Markdown
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