changeset 737:a26aada5900f

Merged.
author Emanuel Schuetze <emanuel@intevation.de>
date Thu, 03 Jul 2014 17:08:22 +0200
parents c92eb6298dd7 (diff) 54ca82647dc5 (current diff)
children ea8d13590cbd
files ui/img/logo-small.png
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ui/textoverlaybutton.cpp	Thu Jul 03 17:07:23 2014 +0200
+++ b/ui/textoverlaybutton.cpp	Thu Jul 03 17:08:22 2014 +0200
@@ -22,6 +22,11 @@
         return;
     }
     QPainter painter(this);
+    /* Only usable if opengl is used */
+    painter.setRenderHint(QPainter::HighQualityAntialiasing, true);
+    /* Else */
+    painter.setRenderHint(QPainter::Antialiasing, true);
+
     QRect myRect = e->rect().translated(26, -29);
 
     // circle

http://wald.intevation.org/projects/trustbridge/