[welcome] Code-formatting
- Update copyright headers - Apply calamaresstyle
This commit is contained in:
parent
54ba0aaf13
commit
4d8acdf425
@ -1,7 +1,7 @@
|
||||
/* === This file is part of Calamares - <https://github.com/calamares> ===
|
||||
*
|
||||
* Copyright 2014-2015, Teo Mrnjavac <teo@kde.org>
|
||||
* Copyright 2017, Adriaan de Groot <groot@kde.org>
|
||||
* Copyright 2017, 2019, Adriaan de Groot <groot@kde.org>
|
||||
*
|
||||
* Calamares is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@ -26,7 +26,8 @@
|
||||
|
||||
static inline void setCondition( QLabel* label, CalamaresUtils::ImageType t )
|
||||
{
|
||||
label->setPixmap( CalamaresUtils::defaultPixmap( t,
|
||||
label->setPixmap(
|
||||
CalamaresUtils::defaultPixmap( t,
|
||||
CalamaresUtils::Original,
|
||||
QSize( label->height(), label->height() ) ) );
|
||||
}
|
||||
@ -48,8 +49,7 @@ ResultWidget::ResultWidget( bool satisfied,
|
||||
|
||||
if ( satisfied )
|
||||
setCondition( m_iconLabel, CalamaresUtils::StatusOk );
|
||||
else
|
||||
if ( required )
|
||||
else if ( required )
|
||||
setCondition( m_iconLabel, CalamaresUtils::StatusError );
|
||||
else
|
||||
setCondition( m_iconLabel, CalamaresUtils::StatusWarning );
|
||||
|
@ -1,7 +1,7 @@
|
||||
/* === This file is part of Calamares - <https://github.com/calamares> ===
|
||||
*
|
||||
* Copyright 2014-2015, Teo Mrnjavac <teo@kde.org>
|
||||
* Copyright 2017, Adriaan de Groot <groot@kde.org>
|
||||
* Copyright 2017, 2019, Adriaan de Groot <groot@kde.org>
|
||||
*
|
||||
* Calamares is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@ -69,9 +69,7 @@ ResultsListWidget::init( const Calamares::RequirementsList& checkEntries )
|
||||
|
||||
allChecked = false;
|
||||
if ( entry.mandatory )
|
||||
{
|
||||
requirementsSatisfied = false;
|
||||
}
|
||||
ciw->setAutoFillBackground( true );
|
||||
QPalette pal( ciw->palette() );
|
||||
pal.setColor( QPalette::Background, Qt::white );
|
||||
@ -155,10 +153,8 @@ ResultsListWidget::init( const Calamares::RequirementsList& checkEntries )
|
||||
)
|
||||
}
|
||||
else
|
||||
{
|
||||
m_mainLayout->addStretch();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
|
@ -1,6 +1,7 @@
|
||||
/* === This file is part of Calamares - <https://github.com/calamares> ===
|
||||
*
|
||||
* Copyright 2014-2015, Teo Mrnjavac <teo@kde.org>
|
||||
* Copyright 2019, Adriaan de Groot <groot@kde.org>
|
||||
*
|
||||
* Calamares is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
Loading…
Reference in New Issue
Block a user