Retranslate window title.

This commit is contained in:
Teo Mrnjavac 2015-04-08 18:40:27 +02:00
parent 8b98b1cc24
commit 1f9843cc7d

View File

@ -40,9 +40,11 @@ CalamaresWindow::CalamaresWindow( QWidget* parent )
// Hide close button // Hide close button
setWindowFlags( Qt::Window | Qt::WindowTitleHint | Qt::CustomizeWindowHint ); setWindowFlags( Qt::Window | Qt::WindowTitleHint | Qt::CustomizeWindowHint );
setWindowTitle( tr( "%1 Installer" ) CALAMARES_RETRANSLATE(
.arg( Calamares::Branding::instance()-> setWindowTitle( tr( "%1 Installer" )
string( Calamares::Branding::ProductName ) ) ); .arg( Calamares::Branding::instance()->
string( Calamares::Branding::ProductName ) ) );
)
setMinimumSize( 1010, 520 ); setMinimumSize( 1010, 520 );
QSize availableSize = qApp->desktop()->screenGeometry( this ).size(); QSize availableSize = qApp->desktop()->screenGeometry( this ).size();