Commit 6a50dbd2 authored by hjk's avatar hjk
Browse files

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's avatarChristian Stenger <>
parent f6838641
......@@ -103,10 +103,10 @@ def qdump__QChar(d, value):
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:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment