Skip to content

Commit 0c1d3d3

Browse files
author
Neil Horne
authored
Fix test against 6.0 not 5.15
Fix test against 6.0 not 5.15
1 parent c825844 commit 0c1d3d3

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/widgets/TreeComboBox.cpp

+1-3
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,8 @@ void TreeComboItemDelegate::paint(QPainter *painter, const QStyleOptionViewItem
7777
pen.setWidthF(1.5);
7878
painter->save();
7979
painter->setPen(pen);
80-
#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
80+
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
8181
painter->setRenderHint(QPainter::HighQualityAntialiasing);
82-
#else
83-
painter->setRenderHint(QPainter::Antialiasing);
8482
#endif
8583
painter->drawLine(option.rect.left(), option.rect.center().y(), option.rect.right(), option.rect.center().y());
8684
painter->restore();

0 commit comments

Comments
 (0)