mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-30 10:55:37 -04:00
[welcome] Allow theming the international language-select icon
This commit is contained in:
parent
75ce391e7e
commit
07c638ed48
5 changed files with 31 additions and 1 deletions
|
@ -137,6 +137,15 @@ WelcomeViewStep::setConfigurationMap( const QVariantMap& configurationMap )
|
|||
} );
|
||||
future->setFuture( handler->queryRaw() );
|
||||
}
|
||||
|
||||
|
||||
QString language = CalamaresUtils::getString( configurationMap, "languageIcon" );
|
||||
if ( !language.isEmpty() )
|
||||
{
|
||||
auto icon = QIcon::fromTheme( language );
|
||||
if ( !icon.isNull() )
|
||||
m_widget->setLanguageIcon( icon );
|
||||
}
|
||||
}
|
||||
|
||||
Calamares::RequirementsList
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue