From c79476e72f86e9e7db529962079a351903972789 Mon Sep 17 00:00:00 2001 From: hjk Date: Fri, 16 Oct 2009 14:39:51 +0200 Subject: [PATCH] debbugger: fix item counts > 1000 in QVector dumper --- share/qtcreator/gdbmacros/gdbmacros.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/qtcreator/gdbmacros/gdbmacros.cpp b/share/qtcreator/gdbmacros/gdbmacros.cpp index 5ad19cadec9..c3c0033ed81 100644 --- a/share/qtcreator/gdbmacros/gdbmacros.cpp +++ b/share/qtcreator/gdbmacros/gdbmacros.cpp @@ -2929,7 +2929,7 @@ static void qDumpQVector(QDumper &d) d.putItemCount("value", n); d.putItem("valueeditable", "false"); - d.putItem("numchild", n); + d.putItem("numchild", nn); if (d.dumpChildren) { QByteArray strippedInnerType = stripPointerType(d.innerType); const char *stripped = innerIsPointerType ? strippedInnerType.data() : 0;