diff --git a/src/modules/welcome/checker/ResultDelegate.cpp b/src/modules/welcome/checker/ResultDelegate.cpp index 60f67849a..420ece812 100644 --- a/src/modules/welcome/checker/ResultDelegate.cpp +++ b/src/modules/welcome/checker/ResultDelegate.cpp @@ -36,15 +36,24 @@ paintRequirement( QPainter* painter, const QStyleOptionViewItem& option, const Q CalamaresUtils::ImageType statusImage = CalamaresUtils::StatusOk; painter->setPen( QColorConstants::Black ); - if ( index.data( Calamares::RequirementsModel::Satisfied ).toBool() ) {} + if ( index.data( Calamares::RequirementsModel::Satisfied ).toBool() ) + { + painter->fillRect( textRect, option.palette.window().color() ); + } else { if ( index.data( Calamares::RequirementsModel::Mandatory ).toBool() ) { + QColor bgColor = option.palette.window().color(); + bgColor.setHsv( 0, 64, bgColor.value() ); + painter->fillRect( option.rect, bgColor ); statusImage = CalamaresUtils::StatusError; } else { + QColor bgColor = option.palette.window().color(); + bgColor.setHsv( 60, 64, bgColor.value() ); + painter->fillRect( option.rect, bgColor ); statusImage = CalamaresUtils::StatusWarning; } }