Commit a4d2666b authored by hjk's avatar hjk
Browse files

debugger: fix dumper for QList<T*>

parent 298b6ac5
...@@ -1392,7 +1392,7 @@ static void qDumpQList(QDumper &d) ...@@ -1392,7 +1392,7 @@ static void qDumpQList(QDumper &d)
if (innerTypeIsPointer) { if (innerTypeIsPointer) {
void *p = ldata.d->array + i + pdata->begin; void *p = ldata.d->array + i + pdata->begin;
P(d, "saddr", p); P(d, "saddr", p);
if (p) { if (*(void**)p) {
//P(d, "value","@" << p); //P(d, "value","@" << p);
qDumpInnerValue(d, strippedInnerType.data(), deref(p)); qDumpInnerValue(d, strippedInnerType.data(), deref(p));
} else { } else {
......
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