mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-05 18:50:44 +00:00
Honour antialiasing setting in gLineChart
This commit is contained in:
parent
d04f5c310d
commit
f89a5e8ad7
@ -250,7 +250,7 @@ void gLineChart::paint(QPainter &painter, gGraph &w, const QRegion ®ion)
|
||||
|
||||
painter.setClipRect(left, top, width, height+1);
|
||||
painter.setClipping(true);
|
||||
painter.setRenderHint(QPainter::Antialiasing, true);
|
||||
painter.setRenderHint(QPainter::Antialiasing, PROFILE.appearance->antiAliasing());
|
||||
|
||||
|
||||
for (int gi = 0; gi < m_codes.size(); gi++) {
|
||||
|
Loading…
Reference in New Issue
Block a user