diff --git a/types.cpp b/types.cpp index a9a9300..d8dd01d 100644 --- a/types.cpp +++ b/types.cpp @@ -69,7 +69,7 @@ QString itemSubtypeToQString(const UINT8 type, const UINT8 subtype) case Types::Image: if (subtype == Subtypes::IntelImage) return QObject::tr("Intel"); - else if (Subtypes::UefiImage) + else if (subtype == Subtypes::UefiImage) return QObject::tr("UEFI"); else return QObject::tr("Unknown subtype"); @@ -153,4 +153,4 @@ QString actionTypeToQString(const UINT8 action) default: return QObject::tr("Unknown"); } -} \ No newline at end of file +}