diff options
author | Armin Le Grand (Allotropia) <Armin.Le.Grand@me.com> | 2021-11-19 10:17:59 +0100 |
---|---|---|
committer | Jan-Marek Glogowski <glogow@fbihome.de> | 2021-11-19 14:07:52 +0100 |
commit | 8c715d513eefaf619bf366add8aaf7f6dca15615 (patch) | |
tree | 16f50688b6891aef3833c90da41d50b1d5da6cbb /vcl | |
parent | 894a01640a838c9affed7cccccc7378a452139b5 (diff) |
Qt set QPainter AntiAlias hint from SalGraphics
Change-Id: I1a9e6014ead24b6edff1dbb41b70c809204d01cc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125549
Tested-by: Jenkins
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/qt5/QtPainter.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/qt5/QtPainter.cxx b/vcl/qt5/QtPainter.cxx index fdf2a4ec08d7..fc0057e5618f 100644 --- a/vcl/qt5/QtPainter.cxx +++ b/vcl/qt5/QtPainter.cxx @@ -54,4 +54,5 @@ QtPainter::QtPainter(QtGraphicsBackend& rGraphics, bool bPrepareBrush, sal_uInt8 setBrush(aColor); } setCompositionMode(rGraphics.m_eCompositionMode); + setRenderHint(QPainter::Antialiasing, m_rGraphics.getAntiAlias()); } |