Add antialiasing to traffic graph widget
This commit is contained in:
1 parent
03858b23fe
commit
db26e8e228
1 file changed
+1
@@ -104,6 +104,7 @@ void TrafficGraphWidget::paintEvent(QPaintEvent *)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
painter.setRenderHint(QPainter::Antialiasing);
|
||||||
if(!vSamplesIn.empty()) {
|
if(!vSamplesIn.empty()) {
|
||||||
QPainterPath p;
|
QPainterPath p;
|
||||||
paintPath(p, vSamplesIn);
|
paintPath(p, vSamplesIn);
|
||||||
|
|||||||
Reference in new issue
Block a user