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
This commit is contained in:
parent
46ef63168e
commit
23839efb30
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user