mirror of https://github.com/PCSX2/pcsx2.git
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:
parent
50d258fae9
commit
d16e669538
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue