show() causes an implicit animation which will emit target[Item]Reached signals; this makes the first show smoother in the device notifier

svn path=/trunk/KDE/kdelibs/; revision=1032154
This commit is contained in:
Aaron J. Seigo 2009-10-07 04:16:39 +00:00
parent e749331979
commit 947e2cd632

View File

@ -133,10 +133,6 @@ void ItemBackground::setTarget(const QRectF &newGeometry)
setGeometry(newGeometry);
d->oldGeometry = newGeometry;
show();
targetReached(newGeometry);
if (d->target) {
emit targetItemReached(d->target);
}
} else {
d->fading = false;
d->opacity = 1;