Commit 47390567 authored by hjk's avatar hjk

Debugger: Improve QModelIndex dumper

An unavailable display value doesn't mean an invalid index

Change-Id: I68baa09c9d6176dcd1a3f983ec375414292d7026
Reviewed-by: default avatarEike Ziller <eike.ziller@digia.com>
parent 067ae243
......@@ -165,7 +165,7 @@ def qdump__QModelIndex(d, value):
v = val["d"]["data"]["ptr"]
d.putStringValue(d.makeValue(ns + 'QString', v))
except:
d.putValue("(invalid)")
d.putValue("")
d.putNumChild(rowCount * columnCount)
if d.isExpanded():
......
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