[welcome] Use system theme color instead of hard-coded black

This commit is contained in:
Adriaan de Groot 2024-09-08 08:38:29 -04:00
parent 7f49b21c49
commit ff23fabfe0

View File

@ -35,7 +35,7 @@ paintRequirement( QPainter* painter, const QStyleOptionViewItem& option, const Q
Calamares::ImageType statusImage = Calamares::StatusOk; Calamares::ImageType statusImage = Calamares::StatusOk;
painter->setPen( Qt::black ); painter->setPen( option.palette.text().color() );
if ( index.data( Calamares::RequirementsModel::Satisfied ).toBool() ) if ( index.data( Calamares::RequirementsModel::Satisfied ).toBool() )
{ {
painter->fillRect( textRect, option.palette.window().color() ); painter->fillRect( textRect, option.palette.window().color() );