# HG changeset patch # User Emanuel Schuetze # Date 1404400102 -7200 # Node ID a26aada5900fbecab1edd119a582005ea164f3fb # Parent c92eb6298dd7724ca9021b5781f268aaec351627# Parent 54ca82647dc53a1e658aadc80fb203af4871a1a8 Merged. diff -r 54ca82647dc5 -r a26aada5900f ui/textoverlaybutton.cpp --- 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