[calamares] be less chatty in startup

- without the SubEntry part, the function name is printed each time.
This commit is contained in:
Adriaan de Groot 2020-06-23 12:56:35 +02:00
parent 916c10816b
commit 8a14316e16

View File

@ -76,7 +76,7 @@ CalamaresApplication::init()
{ {
Logger::setupLogfile(); Logger::setupLogfile();
cDebug() << "Calamares version:" << CALAMARES_VERSION; cDebug() << "Calamares version:" << CALAMARES_VERSION;
cDebug() << " languages:" << QString( CALAMARES_TRANSLATION_LANGUAGES ).replace( ";", ", " ); cDebug() << Logger::SubEntry << " languages:" << QString( CALAMARES_TRANSLATION_LANGUAGES ).replace( ";", ", " );
if ( !Calamares::Settings::instance() ) if ( !Calamares::Settings::instance() )
{ {
@ -91,11 +91,11 @@ CalamaresApplication::init()
setQuitOnLastWindowClosed( false ); setQuitOnLastWindowClosed( false );
setWindowIcon( QIcon( Calamares::Branding::instance()->imagePath( Calamares::Branding::ProductIcon ) ) ); setWindowIcon( QIcon( Calamares::Branding::instance()->imagePath( Calamares::Branding::ProductIcon ) ) );
cDebug() << "STARTUP: initSettings, initQmlPath, initBranding done"; cDebug() << Logger::SubEntry << "STARTUP: initSettings, initQmlPath, initBranding done";
initModuleManager(); //also shows main window initModuleManager(); //also shows main window
cDebug() << "STARTUP: initModuleManager: module init started"; cDebug() << Logger::SubEntry << "STARTUP: initModuleManager: module init started";
} }