Commit 6b468577 authored by hjk's avatar hjk Committed by hjk
Browse files

debugger: fix QFileInfo dumper.



Broke from Qt 4.7 to 4.8.

Change-Id: I0cb87653bfd0a2989332d76b279d2408e487e10a
Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent 7c45b976
......@@ -237,7 +237,7 @@ def qdump__QFile(d, value):
def qdump__QFileInfo(d, value):
try:
d.putStringValue(value["d_ptr"]["d"].dereference()["fileName"])
d.putStringValue(value["d_ptr"]["d"].dereference()["fileNames"][3])
except:
d.putPlainChildren(value)
return
......
......@@ -659,6 +659,11 @@ namespace qfileinfo {
file.setObjectName("A QFile instance");
QFileInfo fi("/tmp/tt");
QString s = fi.absoluteFilePath();
BREAK_HERE;
// Check fi "/tmp/tt" QFileInfo.
// Check file "/tmp/t" QFile.
// Check s "/tmp/t" QString.
// Continue.
dummyStatement(&file, &s);
}
......
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