mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-29 02:15:36 -04:00
branding: Add a shortProductName entry.
This is what the bootloader modules really want, and it was also missing for consistency with the other branding entries.
This commit is contained in:
parent
cde7356f0d
commit
538b457ea8
3 changed files with 7 additions and 7 deletions
|
@ -50,7 +50,8 @@ QStringList Branding::s_stringEntryStrings =
|
|||
"version",
|
||||
"shortVersion",
|
||||
"versionedName",
|
||||
"shortVersionedName"
|
||||
"shortVersionedName",
|
||||
"shortProductName"
|
||||
};
|
||||
|
||||
|
||||
|
@ -206,11 +207,8 @@ void
|
|||
Branding::setGlobals( GlobalStorage* globalStorage ) const
|
||||
{
|
||||
QVariantMap brandingMap;
|
||||
brandingMap.insert( "productName", string( ProductName ) );
|
||||
brandingMap.insert( "version", string( Version ) );
|
||||
brandingMap.insert( "shortVersion", string( ShortVersion ) );
|
||||
brandingMap.insert( "versionedName", string( VersionedName ) );
|
||||
brandingMap.insert( "shortVersionedName", string( ShortVersionedName ) );
|
||||
foreach ( const QString& key, s_stringEntryStrings )
|
||||
brandingMap.insert( key, m_strings.value( key ) );
|
||||
globalStorage->insert( "branding", brandingMap );
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue