aboutsummaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorhjk <hjk@theqtcompany.com>2016-05-02 13:03:09 +0200
committerhjk <hjk@theqtcompany.com>2016-05-02 11:29:06 +0000
commit6a50dbd2aae7495449a18ebd2660261c466505a3 (patch)
tree21a80ad351efeb0e2f7cd6488b6f7a3d9c222033 /share
parentf68386411f044b224794c3f96afc9cc5431c6791 (diff)
Debugger: Disable QAbstractItemModel dumper
The inferior calls to rowCount() and columnCount() used to create the "n x m" "nice" display are troublesome when debugging an actual issue with item models and not too helpful otherwise. People needing that information can still evaluate m->rowCount() etc manually. Change-Id: I3a3feed6aab19096ab01bc91c488de5fcbd732d7 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'share')
-rw-r--r--share/qtcreator/debugger/qttypes.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/qtcreator/debugger/qttypes.py b/share/qtcreator/debugger/qttypes.py
index 6769bfa0ec..856af28f3d 100644
--- a/share/qtcreator/debugger/qttypes.py
+++ b/share/qtcreator/debugger/qttypes.py
@@ -103,10 +103,10 @@ def qdump__QChar(d, value):
d.putNumChild(0)
-def qform__QAbstractItemModel():
+def qform_X_QAbstractItemModel():
return [SimpleFormat, EnhancedFormat]
-def qdump__QAbstractItemModel(d, value):
+def qdump_X_QAbstractItemModel(d, value):
displayFormat = d.currentItemFormat()
if displayFormat == SimpleFormat:
d.putPlainChildren(value)