forked from qt-creator/qt-creator
Debugger: More dumper auto tests.
Added test for "QAbstractItem" and fixed bug uncovered by that.
This commit is contained in:
@@ -1041,7 +1041,7 @@ static void qDumpQAbstractItem(QDumper &d)
|
||||
.put(child.internalPointer()).put(",").put(child.model());
|
||||
d.endItem();
|
||||
d.putItem("type", NS"QAbstractItem");
|
||||
d.putItem("value", m->data(mi, Qt::DisplayRole).toString());
|
||||
d.putItem("value", m->data(child, Qt::DisplayRole).toString());
|
||||
d.putItem("valueencoded", "2");
|
||||
d.endHash();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user