diff --git a/share/qtcreator/gdbmacros/gdbmacros.py b/share/qtcreator/gdbmacros/gdbmacros.py
index 31125b039788e4c47b8c3595c72ef4b0e3ea2e75..9c64dd1e50b62a412e62c769c9299e754d0bc2d8 100644
--- a/share/qtcreator/gdbmacros/gdbmacros.py
+++ b/share/qtcreator/gdbmacros/gdbmacros.py
@@ -827,7 +827,7 @@ def qdump__QObject(d, item):
             connectionListCount = 0
             if not isNull(connections):
                 connectionListCount = connections["d"]["size"]
-            d.putItemCount(connectionListCount)
+            d.putItemCount(connectionListCount, 0)
             d.putNumChild(connectionListCount)
             if d.isExpandedIName(item.iname + ".connections"):
                 with Children(d):