Smooth the outer edge of the toolbox
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=758198
This commit is contained in:
parent
483851b361
commit
925ad32b9a
@ -79,8 +79,9 @@ void DesktopToolbox::paint(QPainter *painter, const QStyleOptionGraphicsItem *op
|
||||
QRadialGradient gradient(QPoint(m_size*2, 0), m_size + m_animFrame);
|
||||
gradient.setFocalPoint(QPointF(m_size*2, 0));
|
||||
gradient.setColorAt(0, color1);
|
||||
gradient.setColorAt(.85, color1);
|
||||
gradient.setColorAt(1, color2);
|
||||
gradient.setColorAt(.87, color1);
|
||||
gradient.setColorAt(.97, color2);
|
||||
gradient.setColorAt(1, QColor(255, 255, 255, 0));
|
||||
painter->save();
|
||||
painter->setPen(Qt::NoPen);
|
||||
painter->setRenderHint(QPainter::Antialiasing, true);
|
||||
|
Loading…
Reference in New Issue
Block a user