Make sure derivatives works

- revert some changes done in 0.20.0 update
- bump version numbers
This commit is contained in:
Nikolaj Schlej 2015-02-06 10:00:32 +01:00
parent b84f27739d
commit 63465b2dcf
3 changed files with 3 additions and 3 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->attributes(index) == sectionType) {
if (model->type(index) == Types::Section && model->subtype(index) == sectionType) {
QModelIndex fileIndex = model->findParentOfType(index, Types::File);
if (model->type(fileIndex) == Types::File &&
model->header(fileIndex).left(sizeof(EFI_GUID)) == fileGuid)