From 4e80486361fadba0704d29942df4086aadd628a0 Mon Sep 17 00:00:00 2001 From: Zach Hilman Date: Thu, 18 Oct 2018 18:03:13 -0400 Subject: [PATCH] game_list: Use proper text colors in dark theme with item delegate --- src/yuzu/game_list.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/yuzu/game_list.cpp b/src/yuzu/game_list.cpp index f32dc465c0..d520d23893 100644 --- a/src/yuzu/game_list.cpp +++ b/src/yuzu/game_list.cpp @@ -52,6 +52,9 @@ public: if (option.state & QStyle::State_Selected) { ctx.palette.setColor(QPalette::Text, option.palette.color(QPalette::Active, QPalette::HighlightedText)); + } else { + ctx.palette.setColor(QPalette::Text, + option.palette.color(QPalette::Normal, QPalette::Text)); } QRect textRect = style->subElementRect(QStyle::SE_ItemViewItemText, &option);