mirror of
https://github.com/LongSoft/UEFITool.git
synced 2024-11-22 07:58:22 +08:00
Revert changes to parseUiSectionBody
- surprisingly, this breaks too many things
This commit is contained in:
parent
12fe8bf29c
commit
1b1bad423e
@ -2550,7 +2550,7 @@ STATUS FfsParser::parseUiSectionBody(const QModelIndex & index)
|
||||
if (!index.isValid())
|
||||
return ERR_INVALID_PARAMETER;
|
||||
|
||||
QString text = QString::fromUtf16((const ushort*)model->body(index).constData(), model->body(index).size()/2);
|
||||
QString text = QString::fromUtf16((const ushort*)model->body(index).constData());
|
||||
|
||||
// Add info
|
||||
model->addInfo(index, tr("\nText: %1").arg(text));
|
||||
|
Loading…
Reference in New Issue
Block a user