save and restore weren't necessary here
svn path=/trunk/KDE/kdelibs/; revision=1069824
This commit is contained in:
parent
d550c9dac2
commit
00ffbc6616
@ -185,8 +185,6 @@ void AppletHandle::paint(QPainter *painter, const QStyleOptionGraphicsItem *opti
|
||||
Q_UNUSED(option);
|
||||
Q_UNUSED(widget);
|
||||
|
||||
painter->save();
|
||||
|
||||
//kDebug() << m_opacity << m_anim << FadeOut;
|
||||
if (qFuzzyCompare(m_opacity + 1.0, 1.0)) {
|
||||
if (m_anim == FadeOut) {
|
||||
@ -370,7 +368,6 @@ void AppletHandle::paint(QPainter *painter, const QStyleOptionGraphicsItem *opti
|
||||
basePoint = m_rect.bottomLeft() + QPointF(HANDLE_MARGIN, 0) - step;
|
||||
sourceIconRect.translate(0, m_iconSize);
|
||||
painter->drawPixmap(QRectF(basePoint + shiftD, iconSize), *m_backgroundBuffer, sourceIconRect);
|
||||
painter->restore();
|
||||
}
|
||||
|
||||
void AppletHandle::emitDisappear()
|
||||
|
Loading…
Reference in New Issue
Block a user