diff options
Diffstat (limited to 'src/charts/linechart/linechartitem.cpp')
-rw-r--r-- | src/charts/linechart/linechartitem.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/charts/linechart/linechartitem.cpp b/src/charts/linechart/linechartitem.cpp index b96d263a..8ea5dbb0 100644 --- a/src/charts/linechart/linechartitem.cpp +++ b/src/charts/linechart/linechartitem.cpp @@ -406,9 +406,7 @@ void LineChartItem::paint(QPainter *painter, const QStyleOptionGraphicsItem *opt painter->drawPath(m_linePath); } else { painter->setBrush(QBrush(Qt::NoBrush)); - if (m_linePen.style() != Qt::SolidLine - || painter->renderHints().testFlag(QPainter::Antialiasing) - || alwaysUsePath) { + if (m_linePen.style() != Qt::SolidLine || alwaysUsePath) { // If pen style is not solid line, always fall back to path painting // to ensure proper continuity of the pattern painter->drawPath(m_linePath); |