From 23839efb3043f7f0f5c936861832a7143810193b Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Mon, 18 Aug 2008 17:57:37 +0000 Subject: [PATCH] translate the painter to draw in a less blurry way, this was getting way too annoying... svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=848919 --- private/applethandle.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/private/applethandle.cpp b/private/applethandle.cpp index 10f6a7210..595a84b41 100644 --- a/private/applethandle.cpp +++ b/private/applethandle.cpp @@ -206,6 +206,8 @@ void AppletHandle::paint(QPainter *painter, const QStyleOptionGraphicsItem *opti painter->setPen(Qt::NoPen); painter->setRenderHints(QPainter::Antialiasing); + painter->translate(0.5, 0.5); + QPainterPath path = handleRect(m_rect, 10, m_buttonsOnRight); painter->strokePath(path, m_gradientColor);