mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-17 06:01:33 -06: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user