mirror of
https://github.com/redstrate/Astra.git
synced 2025-04-23 21:07:45 +00:00
Explicitly state if the boot component is not installed
This commit is contained in:
parent
d1c0a89cda
commit
99b3854a5b
1 changed files with 6 additions and 1 deletions
|
@ -416,7 +416,12 @@ QString Profile::expansionVersionText() const
|
|||
QString expacString;
|
||||
|
||||
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++) {
|
||||
QString expansionName = i18n("Unknown Expansion");
|
||||
|
|
Loading…
Add table
Reference in a new issue