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.
This commit is contained in:
JordanTheToaster 2025-04-06 13:16:10 +01:00 committed by lightningterror
parent 50d258fae9
commit d16e669538
1 changed files with 1 additions and 1 deletions

View File

@ -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;