if the target gets shown show the background too
svn path=/trunk/KDE/kdelibs/; revision=1063611
This commit is contained in:
parent
20bed9f073
commit
7732b62f16
@ -201,6 +201,8 @@ bool ItemBackground::eventFilter(QObject *watched, QEvent *event)
|
|||||||
event->type() == QEvent::GraphicsSceneMove) {
|
event->type() == QEvent::GraphicsSceneMove) {
|
||||||
// We need to wait for the parent widget to resize...
|
// We need to wait for the parent widget to resize...
|
||||||
QTimer::singleShot(0, this, SLOT(refreshCurrentTarget()) );
|
QTimer::singleShot(0, this, SLOT(refreshCurrentTarget()) );
|
||||||
|
} else if (event->type() == QEvent::Show) {
|
||||||
|
setTargetItem(targetWidget);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user