SVN_SILENT: tidy
svn path=/trunk/KDE/kdelibs/; revision=1150752
This commit is contained in:
parent
7879ff137c
commit
78119ec9f4
@ -243,11 +243,8 @@ void FlashingLabel::paint(QPainter *painter, const QStyleOptionGraphicsItem *opt
|
|||||||
if (d->anim.data() && d->anim.data()->state() == QAbstractAnimation::Running) {
|
if (d->anim.data() && d->anim.data()->state() == QAbstractAnimation::Running) {
|
||||||
Plasma::Animation *animation = d->anim.data();
|
Plasma::Animation *animation = d->anim.data();
|
||||||
painter->drawPixmap(0, 0, qvariant_cast<QPixmap>(animation->property("currentPixmap")));
|
painter->drawPixmap(0, 0, qvariant_cast<QPixmap>(animation->property("currentPixmap")));
|
||||||
} else {
|
} else if (d->state == FlashingLabelPrivate::Visible) {
|
||||||
|
painter->drawPixmap(0, 0, d->renderedPixmap);
|
||||||
if (d->state == FlashingLabelPrivate::Visible) {
|
|
||||||
painter->drawPixmap(0, 0, d->renderedPixmap);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user