mirror of
https://github.com/LongSoft/UEFITool.git
synced 2024-11-26 01:48:23 +08:00
Fix rebuild reversion
This commit is contained in:
parent
2de7e3b219
commit
dc2c53b627
@ -2662,6 +2662,17 @@ UINT8 FfsEngine::rebuild(const QModelIndex & index)
|
||||
return ERR_SUCCESS;
|
||||
}
|
||||
|
||||
UINT8 FfsEngine::doNotRebuild(const QModelIndex & index)
|
||||
{
|
||||
if (!index.isValid())
|
||||
return ERR_INVALID_PARAMETER;
|
||||
|
||||
// Set action for the item
|
||||
model->setAction(index, Actions::DoNotRebuild);
|
||||
|
||||
return ERR_SUCCESS;
|
||||
}
|
||||
|
||||
// Compression routines
|
||||
UINT8 FfsEngine::decompress(const QByteArray & compressedData, const UINT8 compressionType, QByteArray & decompressedData, UINT8 * algorithm)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user