1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-04-20 19:57:45 +00:00

Explicitly state if the boot component is not installed

(cherry picked from commit 99b3854a5b)
This commit is contained in:
Joshua Goins 2024-03-23 11:28:20 -04:00
parent 7da8441bee
commit ac2813dc39

View file

@ -416,7 +416,12 @@ QString Profile::expansionVersionText() const
QString expacString; QString expacString;
expacString += QStringLiteral("Boot"); expacString += QStringLiteral("Boot");
expacString += QStringLiteral(" (%1)").arg(QString::fromLatin1(m_bootVersion));
if (!m_bootVersion) {
expacString += i18n(" (Not Installed)");
} else {
expacString += QStringLiteral(" (%1)").arg(QString::fromLatin1(m_bootVersion));
}
for (unsigned int i = 0; i < m_repositories.repositories_count; i++) { for (unsigned int i = 0; i < m_repositories.repositories_count; i++) {
QString expansionName = i18n("Unknown Expansion"); QString expansionName = i18n("Unknown Expansion");