|
|
|
@ -24,10 +24,12 @@
|
|
|
|
|
|
|
|
|
|
#include "geoip/Handler.h"
|
|
|
|
|
#include "locale/Lookup.h"
|
|
|
|
|
#include "modulesystem/ModuleManager.h"
|
|
|
|
|
#include "utils/Logger.h"
|
|
|
|
|
#include "utils/Variant.h"
|
|
|
|
|
|
|
|
|
|
#include "Branding.h"
|
|
|
|
|
#include "modulesystem/ModuleManager.h"
|
|
|
|
|
|
|
|
|
|
#include <QFutureWatcher>
|
|
|
|
|
#include <QVariant>
|
|
|
|
|
|
|
|
|
@ -142,7 +144,7 @@ WelcomeViewStep::setConfigurationMap( const QVariantMap& configurationMap )
|
|
|
|
|
QString language = CalamaresUtils::getString( configurationMap, "languageIcon" );
|
|
|
|
|
if ( !language.isEmpty() )
|
|
|
|
|
{
|
|
|
|
|
auto icon = QIcon::fromTheme( language );
|
|
|
|
|
auto icon = Calamares::Branding::instance()->image( language, QSize( 48, 48 ) );
|
|
|
|
|
if ( !icon.isNull() )
|
|
|
|
|
m_widget->setLanguageIcon( icon );
|
|
|
|
|
}
|
|
|
|
|