Commit f6a1e3b3 authored by hjk's avatar hjk
Browse files

debugger: fix displayed size of QVector in compiled dumpers

Reviewed-by: Friedemann Kleint
Task-number: QTCREATORBUG-2634
parent edeccf73
...@@ -3037,7 +3037,7 @@ static void qDumpQVector(QDumper &d) ...@@ -3037,7 +3037,7 @@ static void qDumpQVector(QDumper &d)
if (const void *p = addOffset(v, i * innersize + typeddatasize)) if (const void *p = addOffset(v, i * innersize + typeddatasize))
qCheckPointer(deref(p)); qCheckPointer(deref(p));
d.putItemCount("value", n); d.putItemCount("value", nn);
d.putItem("valueeditable", "false"); d.putItem("valueeditable", "false");
d.putItem("numchild", nn); d.putItem("numchild", nn);
if (d.dumpChildren) { if (d.dumpChildren) {
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