CDB: Dump Qt 5 / QString correctly.

Adapt to recent change basing QStringData on QTypedArrayData.

Change-Id: I8145015e31ca10bc484d01e8082a2f97d6750285
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
Friedemann Kleint
2012-05-07 12:53:56 +02:00
committed by hjk
parent efbe35787f
commit 82170f0050

View File

@@ -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;