[calamares] Make logging output more consistent

- Use Logger::SubEntry instead of various indents
 - Improve wording of message
This commit is contained in:
Adriaan de Groot 2019-04-15 08:57:27 -04:00
parent 5677a4bb28
commit 8bb07528e2
2 changed files with 2 additions and 2 deletions

View File

@ -79,7 +79,7 @@ CalamaresWindow::CalamaresWindow( QWidget* parent )
int w = qBound( minimumSize.width(), windowDimensionToPixels( brandingSizes.first ), availableSize.width() ); int w = qBound( minimumSize.width(), windowDimensionToPixels( brandingSizes.first ), availableSize.width() );
int h = qBound( minimumSize.height(), windowDimensionToPixels( brandingSizes.second ), availableSize.height() ); int h = qBound( minimumSize.height(), windowDimensionToPixels( brandingSizes.second ), availableSize.height() );
cDebug() << " Proposed window size:" << w << h; cDebug() << Logger::SubEntry << "Proposed window size:" << w << h;
resize( w, h ); resize( w, h );
QBoxLayout* mainLayout = new QHBoxLayout; QBoxLayout* mainLayout = new QHBoxLayout;

View File

@ -223,7 +223,7 @@ main( int argc, char* argv[] )
Calamares::JobResult r = p->exec(); Calamares::JobResult r = p->exec();
if ( !r ) if ( !r )
{ {
cDebug() << count << ".. failed" cDebug() << "Job #" << count << "failed"
<< TR( "summary", r.message() ) << TR( "summary", r.message() )
<< TR( "details", r.details() ); << TR( "details", r.details() );
} }