Fix rebuild reversion

This commit is contained in:
vit9696 2018-05-03 19:33:55 +03:00
parent 2de7e3b219
commit dc2c53b627

View File

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