Hack for broken windowsvista
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
parent
5832fb8b95
commit
e89f96e9e9
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ void ProjectItemDelegate::paint(QPainter* painter, const QStyleOptionViewItem& o
|
|||
|
||||
style->drawPrimitive(QStyle::PE_PanelItemViewItem, &opt, painter, opt.widget);
|
||||
|
||||
if (option.state & QStyle::State_Selected)
|
||||
if (option.state & QStyle::State_Selected && style->objectName() != "windowsvista")
|
||||
painter->setPen(opt.palette.highlightedText().color());
|
||||
|
||||
if (opt.features & QStyleOptionViewItem::HasCheckIndicator) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue