[welcome] Use different color-name

The QColorConstants are deprecated, use other names instead
(this avoids a compile warning from clang against Qt5).
This commit is contained in:
Adriaan de Groot 2024-04-28 14:38:14 +02:00
parent 5a90e0bc6a
commit 8c66a558d5

View File

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