mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-26 19:26:59 +03:00
Don't use deprecated QPainter option
Warning from compiler: speedplotview.cpp:342:63: warning: ‘QPainter::HighQualityAntialiasing’ is deprecated: Use Antialiasing instead [-Wdeprecated-declarations]
This commit is contained in:
parent
7c8846fc53
commit
21e1c33d15
1 changed files with 1 additions and 1 deletions
|
@ -339,7 +339,7 @@ void SpeedPlotView::paintEvent(QPaintEvent *)
|
|||
}
|
||||
|
||||
// Set antialiasing for graphs
|
||||
painter.setRenderHints(QPainter::Antialiasing | QPainter::HighQualityAntialiasing);
|
||||
painter.setRenderHints(QPainter::Antialiasing);
|
||||
|
||||
// draw graphs
|
||||
rect.adjust(3, 0, 0, 0); // Need, else graphs cross left gridline
|
||||
|
|
Loading…
Reference in a new issue