aboutsummaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorhjk <hjk@theqtcompany.com>2016-05-02 17:38:18 +0200
committerhjk <hjk@theqtcompany.com>2016-05-03 14:40:57 +0000
commit7ee52d4764888c4c84e55787cbb229aca8b0d1b9 (patch)
treec79217eaae6c64a3c5f587061d08bdf9c9a82d6f /share
parent4021a2a9021984ed3c305648d84c8af84f016e6f (diff)
Debugger: Disable QModelIndex dumper
The inferior calls to rowCount() and columnCount() used to create data() display are troublesome when debugging an actual issue with item models and not too helpful otherwise. People needing that information can still evaluate idx.data() etc manually. Change-Id: If736afbf8fc44cf28e7f07e5f2c3b039a2f4984c 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 856af28f3d..27b2797c62 100644
--- a/share/qtcreator/debugger/qttypes.py
+++ b/share/qtcreator/debugger/qttypes.py
@@ -145,10 +145,10 @@ def qdump_X_QAbstractItemModel(d, value):
#d.putType(mi.type)
#gdb.execute("call free($ri)")
-def qform__QModelIndex():
+def qform_X_QModelIndex():
return [SimpleFormat, EnhancedFormat]
-def qdump__QModelIndex(d, value):
+def qdump_X_QModelIndex(d, value):
displayFormat = d.currentItemFormat()
if displayFormat == SimpleFormat:
d.putPlainChildren(value)