diff --git a/share/qtcreator/dumper/qttypes.py b/share/qtcreator/dumper/qttypes.py
index 2f905b6895771e257aaae2e29607ec27f302b33d..7165373138e157fe352f6ce13f538f1bbc57475b 100644
--- a/share/qtcreator/dumper/qttypes.py
+++ b/share/qtcreator/dumper/qttypes.py
@@ -1252,7 +1252,7 @@ def qdump__QSet(d, value):
         isSimpleKey = isSimpleType(keyType)
         node = hashDataFirstNode(value)
         innerType = e_ptr.dereference().type
-        with Children(d, size, numChild=1000, childType=keyType):
+        with Children(d, size, maxNumChild=1000, childType=innerType):
             for i in xrange(size):
                 it = node.dereference().cast(innerType)
                 with SubItem(d, i):