mirror of
https://github.com/LongSoft/UEFITool.git
synced 2025-05-14 15:15:04 -04:00
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:
parent
9665d0bcff
commit
a764f15679
20 changed files with 1116 additions and 768 deletions
|
@ -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())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue