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:
parent
7da8441bee
commit
ac2813dc39
1 changed files with 6 additions and 1 deletions
|
@ -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");
|
||||||
|
|
Loading…
Add table
Reference in a new issue