From ff23fabfe0e0f6501867d7966cfd61337e254425 Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Sun, 8 Sep 2024 08:38:29 -0400 Subject: [PATCH] [welcome] Use system theme color instead of hard-coded black --- src/modules/welcome/checker/ResultDelegate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/welcome/checker/ResultDelegate.cpp b/src/modules/welcome/checker/ResultDelegate.cpp index 19f906a0d..ae74a36ed 100644 --- a/src/modules/welcome/checker/ResultDelegate.cpp +++ b/src/modules/welcome/checker/ResultDelegate.cpp @@ -35,7 +35,7 @@ paintRequirement( QPainter* painter, const QStyleOptionViewItem& option, const Q Calamares::ImageType statusImage = Calamares::StatusOk; - painter->setPen( Qt::black ); + painter->setPen( option.palette.text().color() ); if ( index.data( Calamares::RequirementsModel::Satisfied ).toBool() ) { painter->fillRect( textRect, option.palette.window().color() );