This commit is contained in:
DavidXanatos 2023-08-31 20:29:15 +02:00
parent 4e7333d57f
commit 371001f298
1 changed files with 2 additions and 4 deletions

View File

@ -1238,13 +1238,11 @@ QColor CSettingsWindow::GetCertColor()
QString CSettingsWindow::GetCertLevel()
{
QString CertLevel;
if (g_CertInfo.level == eCertStandard)
CertLevel = tr("Standard");
else if (g_CertInfo.level == eCertAdvanced)
if (g_CertInfo.level == eCertAdvanced)
CertLevel = tr("Advanced");
else if (g_CertInfo.level == eCertMaxLevel)
CertLevel = tr("Max Level");
else
else if (g_CertInfo.level != eCertStandard && g_CertInfo.level != eCertStandard2)
CertLevel = tr("Level %1").arg(g_CertInfo.level);
return CertLevel;
}