From eee1671b3c982fa84332b35e83627b8c1315c799 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Sat, 13 Dec 2008 18:17:36 +0000 Subject: [PATCH] re-set the window preview when the size changes, since its behaviour depends from the tooltip size BUG:177378 svn path=/trunk/KDE/kdelibs/; revision=896526 --- private/tooltip.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/private/tooltip.cpp b/private/tooltip.cpp index 6647d0dbb..2c5b0cef3 100644 --- a/private/tooltip.cpp +++ b/private/tooltip.cpp @@ -266,6 +266,7 @@ void ToolTip::resizeEvent(QResizeEvent *e) QWidget::resizeEvent(e); d->background->resizeFrame(size()); setMask(d->background->mask()); + d->preview->setInfo(); } void ToolTip::paintEvent(QPaintEvent *e)