mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-30 11:38:50 -07: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
|
// Set antialiasing for graphs
|
||||||
painter.setRenderHints(QPainter::Antialiasing | QPainter::HighQualityAntialiasing);
|
painter.setRenderHints(QPainter::Antialiasing);
|
||||||
|
|
||||||
// draw graphs
|
// draw graphs
|
||||||
rect.adjust(3, 0, 0, 0); // Need, else graphs cross left gridline
|
rect.adjust(3, 0, 0, 0); // Need, else graphs cross left gridline
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue