[calamares] Chase Branding API change
This commit is contained in:
parent
62696a3a48
commit
794939b6a8
@ -277,9 +277,10 @@ CalamaresWindow::CalamaresWindow( QWidget* parent )
|
|||||||
setWindowFlag( Qt::WindowCloseButtonHint, false );
|
setWindowFlag( Qt::WindowCloseButtonHint, false );
|
||||||
}
|
}
|
||||||
|
|
||||||
CALAMARES_RETRANSLATE( setWindowTitle( Calamares::Settings::instance()->isSetupMode()
|
CALAMARES_RETRANSLATE( const auto* branding = Calamares::Branding::instance();
|
||||||
? tr( "%1 Setup Program" ).arg( *Calamares::Branding::ProductName )
|
setWindowTitle( Calamares::Settings::instance()->isSetupMode()
|
||||||
: tr( "%1 Installer" ).arg( *Calamares::Branding::ProductName ) ); )
|
? tr( "%1 Setup Program" ).arg( branding->productName() )
|
||||||
|
: tr( "%1 Installer" ).arg( branding->productName() ) ); )
|
||||||
|
|
||||||
const Calamares::Branding* const branding = Calamares::Branding::instance();
|
const Calamares::Branding* const branding = Calamares::Branding::instance();
|
||||||
using ImageEntry = Calamares::Branding::ImageEntry;
|
using ImageEntry = Calamares::Branding::ImageEntry;
|
||||||
|
Loading…
Reference in New Issue
Block a user