Commit 7ee52d47 authored by hjk's avatar hjk

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 etc manually.

Change-Id: If736afbf8fc44cf28e7f07e5f2c3b039a2f4984c
Reviewed-by: Christian Stenger's avatarChristian Stenger <>
parent 4021a2a9
......@@ -145,10 +145,10 @@ def qdump_X_QAbstractItemModel(d, value):
#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:
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