Some forgotten changes

- must make sure subprojects are also compiling before commiting another
big update
This commit is contained in:
Nikolaj Schlej 2015-01-31 15:07:28 +01:00
parent 831603dbc9
commit 44a3fb63f0
2 changed files with 4 additions and 4 deletions

View file

@ -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)