1
0
Fork 0
mirror of https://github.com/LongSoft/UEFITool.git synced 2025-05-24 12:07:12 -04:00

- introduce Extract Uncompressed and Uncompressed Hex View actions for compressed items

- remove unused code to support Qt 5.5 and earlier Qt versions
- remove unused section parsing code
- add a check and description for section alignment quirk (compiled out for now)
This commit is contained in:
Nikolaj Schlej 2022-08-24 22:17:51 +02:00
parent cc274319bf
commit 12f40cf289
20 changed files with 165 additions and 224 deletions

View file

@ -40,12 +40,7 @@ USTATUS findFileRecursive(TreeModel *model, const UModelIndex index, const UStri
bool hasChildren = (model->rowCount(index) > 0);
for (int i = 0; i < model->rowCount(index); i++) {
#if ((QT_VERSION_MAJOR == 5) && (QT_VERSION_MINOR < 6)) || (QT_VERSION_MAJOR < 5)
findFileRecursive(model, index.child(i, index.column()), hexPattern, mode, files);
#else
findFileRecursive(model, index.model()->index(i, index.column(), index), hexPattern, mode, files);
#endif
}
UByteArray data;