save and restore weren't necessary here

svn path=/trunk/KDE/kdelibs/; revision=1069824
This commit is contained in:
Marco Martin 2010-01-04 10:06:25 +00:00
parent d550c9dac2
commit 00ffbc6616

View File

@ -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()