Commit 695201b0 authored by hjk's avatar hjk

debugger: allow NULL pointers in QVector<Foo*> and QStack<Foo*> dumpers

parent 7bbd2532
......@@ -2926,7 +2926,7 @@ static void qDumpQVector(QDumper &d)
if (innerIsPointerType && nn > 0)
for (int i = 0; i != n; ++i)
if (const void *p = addOffset(v, i * innersize + typeddatasize))
d.putItemCount("value", n);
d.putItem("valueeditable", "false");
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