revert last change

svn path=/trunk/KDE/kdelibs/; revision=1065635
This commit is contained in:
Marco Martin 2009-12-23 22:11:39 +00:00
parent ac5c3b4996
commit 99500091a1

View File

@ -102,7 +102,7 @@ void ItemBackground::setTarget(const QRectF &newGeometry)
d->oldGeometry = geometry();
d->newGeometry = newGeometry;
if (!isVisible() || (d->target && !d->target->isVisible())) {
if (!isVisible() && (!d->target || !d->target->isVisible())) {
setGeometry(d->newGeometry);
targetReached(newGeometry);
if (d->target) {