SVN_SILENT: tidy

svn path=/trunk/KDE/kdelibs/; revision=1150752
This commit is contained in:
Aaron J. Seigo 2010-07-16 17:04:45 +00:00
parent 7879ff137c
commit 78119ec9f4

View File

@ -243,11 +243,8 @@ void FlashingLabel::paint(QPainter *painter, const QStyleOptionGraphicsItem *opt
if (d->anim.data() && d->anim.data()->state() == QAbstractAnimation::Running) {
Plasma::Animation *animation = d->anim.data();
painter->drawPixmap(0, 0, qvariant_cast<QPixmap>(animation->property("currentPixmap")));
} else {
if (d->state == FlashingLabelPrivate::Visible) {
painter->drawPixmap(0, 0, d->renderedPixmap);
}
} else if (d->state == FlashingLabelPrivate::Visible) {
painter->drawPixmap(0, 0, d->renderedPixmap);
}
}