[calamares] Log version and supported languages
- These logging statements happened before logging was configured, so never ended up in the session log. Move them to be executed later.
This commit is contained in:
parent
652c0c22fe
commit
53cdf0b054
@ -55,16 +55,10 @@ CalamaresApplication::CalamaresApplication( int& argc, char* argv[] )
|
||||
setApplicationName( QStringLiteral( CALAMARES_APPLICATION_NAME ) );
|
||||
setApplicationVersion( QStringLiteral( CALAMARES_VERSION ) );
|
||||
|
||||
cDebug() << "Calamares version:" << CALAMARES_VERSION;
|
||||
|
||||
CalamaresUtils::installTranslator( QLocale::system(), QString(), this );
|
||||
|
||||
QFont f = font();
|
||||
|
||||
cDebug() << "Default font size" << f.pointSize() << ';' << f.pixelSize() << "px";
|
||||
CalamaresUtils::setDefaultFontSize( f.pointSize() );
|
||||
|
||||
cDebug() << "Available languages:" << QString( CALAMARES_TRANSLATION_LANGUAGES ).split( ';' );
|
||||
}
|
||||
|
||||
|
||||
@ -72,6 +66,8 @@ void
|
||||
CalamaresApplication::init()
|
||||
{
|
||||
Logger::setupLogfile();
|
||||
cDebug() << "Calamares version:" << CALAMARES_VERSION;
|
||||
cDebug() << " languages:" << QString( CALAMARES_TRANSLATION_LANGUAGES ).replace( ";", ", " );
|
||||
|
||||
setQuitOnLastWindowClosed( false );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user