diff options
author | hjk <hjk@theqtcompany.com> | 2016-05-02 13:03:09 +0200 |
---|---|---|
committer | hjk <hjk@theqtcompany.com> | 2016-05-02 11:29:06 +0000 |
commit | 6a50dbd2aae7495449a18ebd2660261c466505a3 (patch) | |
tree | 21a80ad351efeb0e2f7cd6488b6f7a3d9c222033 /share | |
parent | f68386411f044b224794c3f96afc9cc5431c6791 (diff) | |
download | qt-creator-6a50dbd2aae7495449a18ebd2660261c466505a3.tar.gz |
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.py | 4 |
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) |