Call QWidget::resizeEvent() so that we get our layout recalculated. This

fixes the previews showing up in the wrong place.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=776041
This commit is contained in:
Benjamin K. Stuhl 2008-02-17 07:47:52 +00:00
parent 0cfd49fb26
commit f78ab80d19

View File

@ -341,8 +341,9 @@ void WindowPreview::setInfo()
#endif #endif
} }
void ToolTip::resizeEvent(QResizeEvent *) void ToolTip::resizeEvent(QResizeEvent *e)
{ {
QWidget::resizeEvent(e);
d->background->resize(size()); d->background->resize(size());
if (KWindowSystem::compositingActive()) { if (KWindowSystem::compositingActive()) {