Skip to content

Commit 4db2f8c

Browse files
committed
Merge #16153: Qt: Add antialiasing to traffic graph widget
db26e8e Add antialiasing to traffic graph widget (Josu Goñi) Pull request description: Before: ![image](https://user-images.githubusercontent.com/25986871/58974389-92559c00-87c2-11e9-9673-0c47ac71de2e.png) After: ![image](https://user-images.githubusercontent.com/25986871/58974280-56223b80-87c2-11e9-8fcc-1e5d299dd1e2.png) ACKs for top commit: laanwj: ACK db26e8e Tree-SHA512: d795809458522a1ec19e236de30c2c5070960544162323324f0d4e2f49c3590fe7756e924f1021056106b4c52dcb564e690c15f85a15ea35342badf72653d534
2 parents c84349a + db26e8e commit 4db2f8c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/qt/trafficgraphwidget.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ void TrafficGraphWidget::paintEvent(QPaintEvent *)
104104
}
105105
}
106106

107+
painter.setRenderHint(QPainter::Antialiasing);
107108
if(!vSamplesIn.empty()) {
108109
QPainterPath p;
109110
paintPath(p, vSamplesIn);

0 commit comments

Comments
 (0)