[partition] [welcome] Simplify retranslation

This commit is contained in:
Adriaan de Groot 2019-08-29 15:02:12 +02:00
parent 1cde8c20df
commit 0aabc89449
2 changed files with 2 additions and 2 deletions

View File

@ -65,7 +65,7 @@ DeviceInfoWidget::DeviceInfoWidget( QWidget* parent )
m_ptIcon->setPalette( palette );
m_ptLabel->setPalette( palette );
CALAMARES_RETRANSLATE( retranslateUi(); )
CALAMARES_RETRANSLATE_SLOT( &DeviceInfoWidget::retranslateUi )
}

View File

@ -73,7 +73,7 @@ WelcomePage::WelcomePage( QWidget* parent )
cDebug() << "Welcome string" << Calamares::Branding::instance()->welcomeStyleCalamares()
<< *Calamares::Branding::VersionedName;
CALAMARES_RETRANSLATE( retranslate(); )
CALAMARES_RETRANSLATE_SLOT( &WelcomePage::retranslate )
ui->aboutButton->setIcon( CalamaresUtils::defaultPixmap(
CalamaresUtils::Information,