[welcome] Use system theme color instead of hard-coded black
This commit is contained in:
parent
7f49b21c49
commit
ff23fabfe0
@ -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() );
|
||||||
|
Loading…
Reference in New Issue
Block a user