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:
parent
0cfd49fb26
commit
f78ab80d19
@ -341,8 +341,9 @@ void WindowPreview::setInfo()
|
||||
#endif
|
||||
}
|
||||
|
||||
void ToolTip::resizeEvent(QResizeEvent *)
|
||||
void ToolTip::resizeEvent(QResizeEvent *e)
|
||||
{
|
||||
QWidget::resizeEvent(e);
|
||||
d->background->resize(size());
|
||||
|
||||
if (KWindowSystem::compositingActive()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user