Browse Source

Don't use deprecated QPainter option

Warning from compiler:
speedplotview.cpp:342:63: warning: ‘QPainter::HighQualityAntialiasing’ is deprecated: Use Antialiasing instead [-Wdeprecated-declarations]
adaptive-webui-19844
Chocobo1 5 years ago
parent
commit
21e1c33d15
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C
  1. 2
      src/gui/properties/speedplotview.cpp

2
src/gui/properties/speedplotview.cpp

@ -339,7 +339,7 @@ void SpeedPlotView::paintEvent(QPaintEvent *) @@ -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…
Cancel
Save