Merge #16153: Qt: Add antialiasing to traffic graph widget
db26e8e228
Add antialiasing to traffic graph widget (Josu Goñi) Pull request description: Before:  After:  ACKs for top commit: laanwj: ACKdb26e8e228
Tree-SHA512: d795809458522a1ec19e236de30c2c5070960544162323324f0d4e2f49c3590fe7756e924f1021056106b4c52dcb564e690c15f85a15ea35342badf72653d534
This commit is contained in:
commit
4db2f8cf0f
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Reference in a new issue