Version 0.16.0

- image reconstruction code refactored
- implemented patching of VTF in case of PEI core entry point change
This commit is contained in:
Nikolaj Schlej 2014-01-11 10:20:58 +01:00
parent 9665d0bcff
commit a764f15679
20 changed files with 1116 additions and 768 deletions

View file

@ -1,6 +1,6 @@
/* treemodel.cpp
Copyright (c) 2013, Nikolaj Schlej. All rights reserved.
Copyright (c) 2014, Nikolaj Schlej. All rights reserved.
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@ -220,6 +220,16 @@ UINT8 TreeModel::compression(const QModelIndex &index) const
return item->compression();
}
void TreeModel::setSubtype(const QModelIndex & index, UINT8 subtype)
{
if(!index.isValid())
return;
TreeItem *item = static_cast<TreeItem*>(index.internalPointer());
item->setSubtype(subtype);
emit dataChanged(index, index);
}
void TreeModel::setNameString(const QModelIndex &index, const QString &data)
{
if(!index.isValid())