forked from qt-creator/qt-creator
Dumper: Fix dumping QDir
Change-Id: I5b02e8b0a000efe1c3bbbc22f7e624ea218e1cfc Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -569,7 +569,7 @@ def qdump__QDir(d, value):
|
|||||||
with SubItem(d, 'absolutePath'):
|
with SubItem(d, 'absolutePath'):
|
||||||
d.putItem(d.createValue(privAddress + absoluteDirEntryOffset, '@QString'))
|
d.putItem(d.createValue(privAddress + absoluteDirEntryOffset, '@QString'))
|
||||||
with SubItem(d, 'entryInfoList'):
|
with SubItem(d, 'entryInfoList'):
|
||||||
qdumpHelper_QList(d, privAddress + fileInfosOffset, '@QFileInfo')
|
qdumpHelper_QList(d, d.createValue(privAddress + fileInfosOffset, '@QList<@QFileInfo>'), '@QFileInfo')
|
||||||
with SubItem(d, 'entryList'):
|
with SubItem(d, 'entryList'):
|
||||||
d.putItem(d.createValue(privAddress + filesOffset, '@QStringList'))
|
d.putItem(d.createValue(privAddress + filesOffset, '@QStringList'))
|
||||||
d.putFields(value)
|
d.putFields(value)
|
||||||
|
Reference in New Issue
Block a user