Debugger: More dumper auto tests.

Added test for "QAbstractItem" and fixed bug uncovered by that.
This commit is contained in:
ck
2009-08-05 16:01:33 +02:00
parent dba63d388e
commit 99d4c0b2a9
2 changed files with 181 additions and 57 deletions
+1 -1
View File
@@ -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();
}