Reload the slideshow on language change.
This commit is contained in:
parent
375150347b
commit
77e205e48a
@ -24,6 +24,7 @@
|
|||||||
#include "utils/CalamaresUtilsGui.h"
|
#include "utils/CalamaresUtilsGui.h"
|
||||||
#include "utils/Logger.h"
|
#include "utils/Logger.h"
|
||||||
#include "Settings.h"
|
#include "Settings.h"
|
||||||
|
#include "utils/Retranslator.h"
|
||||||
|
|
||||||
#include <QDir>
|
#include <QDir>
|
||||||
#include <QLabel>
|
#include <QLabel>
|
||||||
@ -55,10 +56,11 @@ InstallationViewStep::InstallationViewStep( QObject* parent )
|
|||||||
|
|
||||||
m_slideShow->engine()->addImportPath( CalamaresUtils::qmlModulesDir().absolutePath() );
|
m_slideShow->engine()->addImportPath( CalamaresUtils::qmlModulesDir().absolutePath() );
|
||||||
|
|
||||||
|
CALAMARES_RETRANSLATE_WIDGET( m_widget,
|
||||||
if ( !Calamares::Branding::instance()->slideshowPath().isEmpty() )
|
if ( !Calamares::Branding::instance()->slideshowPath().isEmpty() )
|
||||||
m_slideShow->setSource( QUrl::fromLocalFile( Calamares::Branding::instance()
|
m_slideShow->setSource( QUrl::fromLocalFile( Calamares::Branding::instance()
|
||||||
->slideshowPath() ) );
|
->slideshowPath() ) );
|
||||||
|
)
|
||||||
innerLayout->addSpacing( CalamaresUtils::defaultFontHeight() / 2 );
|
innerLayout->addSpacing( CalamaresUtils::defaultFontHeight() / 2 );
|
||||||
innerLayout->addWidget( m_progressBar );
|
innerLayout->addWidget( m_progressBar );
|
||||||
innerLayout->addWidget( m_label );
|
innerLayout->addWidget( m_label );
|
||||||
|
Loading…
Reference in New Issue
Block a user