mirror of
https://github.com/LongSoft/UEFITool.git
synced 2024-11-22 07:58:22 +08:00
Remove unneeded string conversion
This commit is contained in:
parent
0184dc991c
commit
5138a49591
@ -3190,7 +3190,7 @@ parsing_done:
|
||||
.hexarg(extendedData.size()), varIndex);
|
||||
|
||||
// Check variable name to be in the list of nesting variables
|
||||
if (text.toLatin1() == QString("StdDefaults") || text.toLatin1() == QString("MfgDefaults")) {
|
||||
if (text == QString("StdDefaults") || text == QString("MfgDefaults")) {
|
||||
STATUS result = parseNvarStorage(body, varIndex);
|
||||
if (result)
|
||||
msg(QObject::tr("parseNvarStorage: parsing of nested NVAR storage failed with error \"%1\"").arg(errorCodeToQString(result)), varIndex);
|
||||
|
Loading…
Reference in New Issue
Block a user