mirror of
https://github.com/LongSoft/UEFITool.git
synced 2025-05-20 10:15:21 -04:00
Some forgotten changes
- must make sure subprojects are also compiling before commiting another big update
This commit is contained in:
parent
831603dbc9
commit
44a3fb63f0
2 changed files with 4 additions and 4 deletions
|
@ -126,7 +126,7 @@ UINT8 UEFIPatch::patchFile(const QModelIndex & index, const QByteArray & fileGui
|
|||
|
||||
if (!model || !index.isValid())
|
||||
return ERR_INVALID_PARAMETER;
|
||||
if (model->type(index) == Types::Section && model->subtype(index) == sectionType) {
|
||||
if (model->type(index) == Types::Section && model->attributes(index) == sectionType) {
|
||||
QModelIndex fileIndex = model->findParentOfType(index, Types::File);
|
||||
if (model->type(fileIndex) == Types::File &&
|
||||
model->header(fileIndex).left(sizeof(EFI_GUID)) == fileGuid)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue