Merge #16153: Qt: Add antialiasing to traffic graph widget
db26e8e228
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: 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()) {
|
||||
QPainterPath p;
|
||||
paintPath(p, vSamplesIn);
|
||||
|
|
Loading…
Reference in a new issue