aboutsummaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2009-11-04 18:30:27 +0100
committerhjk <qtc-committer@nokia.com>2009-11-04 18:31:27 +0100
commitc91aca64e62a62324630ca7daf8237ff359ca0d4 (patch)
tree6484bac2bd6b2fb518576e0285567a8b32013241 /share
parentf2a0382910a0bfe1405d92255cb49f0a80efe616 (diff)
debugger: fix item count for QLists with more than 1000 elements
Reviewed-by: Oswald Buddenhagen
Diffstat (limited to 'share')
-rw-r--r--share/qtcreator/gdbmacros/gdbmacros.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/qtcreator/gdbmacros/gdbmacros.cpp b/share/qtcreator/gdbmacros/gdbmacros.cpp
index bbc6862202..2d14e7df06 100644
--- a/share/qtcreator/gdbmacros/gdbmacros.cpp
+++ b/share/qtcreator/gdbmacros/gdbmacros.cpp
@@ -1639,7 +1639,7 @@ static void qDumpQList(QDumper &d)
}
qCheckAccess(pdata);
- d.putItemCount("value", n);
+ d.putItemCount("value", nn);
d.putItem("valueeditable", "false");
d.putItem("numchild", n);
if (d.dumpChildren) {