itemSubtypeToQString: fix typo.

This commit is contained in:
serg-pushkarev 2017-12-24 19:44:21 +03:00
parent 5332242c47
commit 29db1412a1

View File

@ -69,7 +69,7 @@ QString itemSubtypeToQString(const UINT8 type, const UINT8 subtype)
case Types::Image: case Types::Image:
if (subtype == Subtypes::IntelImage) if (subtype == Subtypes::IntelImage)
return QObject::tr("Intel"); return QObject::tr("Intel");
else if (Subtypes::UefiImage) else if (subtype == Subtypes::UefiImage)
return QObject::tr("UEFI"); return QObject::tr("UEFI");
else else
return QObject::tr("Unknown subtype"); return QObject::tr("Unknown subtype");
@ -153,4 +153,4 @@ QString actionTypeToQString(const UINT8 action)
default: default:
return QObject::tr("Unknown"); return QObject::tr("Unknown");
} }
} }