diff --git a/src/qt/trafficgraphwidget.cpp b/src/qt/trafficgraphwidget.cpp index 317cd48c61..6f5ab36033 100644 --- a/src/qt/trafficgraphwidget.cpp +++ b/src/qt/trafficgraphwidget.cpp @@ -125,6 +125,7 @@ void TrafficGraphWidget::paintEvent(QPaintEvent *) const TrafficGraphData::SampleQueue& queue = trafficGraphData.getCurrentRangeQueueWithAverageBandwidth(); if(!queue.empty()) { + painter.setRenderHint(QPainter::Antialiasing); QPainterPath pIn; QColor lucentGreen = green; lucentGreen.setAlpha(128); @@ -142,6 +143,7 @@ void TrafficGraphWidget::paintEvent(QPaintEvent *) painter.fillPath(pOut, lucentRed); painter.setPen(red); painter.drawPath(pOut); + painter.setRenderHint(QPainter::Antialiasing, false); } // draw text