[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:
parent
5a90e0bc6a
commit
8c66a558d5
@ -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() );
|
||||
|
Loading…
Reference in New Issue
Block a user