Remove unneeded string conversion

This commit is contained in:
Nikolaj Schlej 2016-03-21 11:36:22 +01:00
parent 0184dc991c
commit 5138a49591

View File

@ -3190,7 +3190,7 @@ parsing_done:
.hexarg(extendedData.size()), varIndex); .hexarg(extendedData.size()), varIndex);
// Check variable name to be in the list of nesting variables // 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); STATUS result = parseNvarStorage(body, varIndex);
if (result) if (result)
msg(QObject::tr("parseNvarStorage: parsing of nested NVAR storage failed with error \"%1\"").arg(errorCodeToQString(result)), varIndex); msg(QObject::tr("parseNvarStorage: parsing of nested NVAR storage failed with error \"%1\"").arg(errorCodeToQString(result)), varIndex);