[calamares] Make logging output more consistent
- Use Logger::SubEntry instead of various indents - Improve wording of message
This commit is contained in:
parent
5677a4bb28
commit
8bb07528e2
@ -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;
|
||||||
|
@ -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() );
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user