From d16e6695389413d8dbf7e916dee6dbcd1e8dac59 Mon Sep 17 00:00:00 2001 From: JordanTheToaster Date: Sun, 6 Apr 2025 13:16:10 +0100 Subject: [PATCH] GameListWidget: Bodge broken icon styling in native theme Still a bodge but this will fix the styling being missing on every other line on the type column. --- pcsx2-qt/GameList/GameListWidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcsx2-qt/GameList/GameListWidget.cpp b/pcsx2-qt/GameList/GameListWidget.cpp index d308d48013..b2c04607b1 100644 --- a/pcsx2-qt/GameList/GameListWidget.cpp +++ b/pcsx2-qt/GameList/GameListWidget.cpp @@ -116,7 +116,7 @@ namespace // draw default item QStyleOptionViewItem opt = option; initStyleOption(&opt, index); - opt.icon = QIcon(); + opt.type = QStyleOption::SO_Default; QApplication::style()->drawControl(QStyle::CE_ItemViewItem, &opt, painter, 0); const QRect r = option.rect;