From 462c52af51ccd9776267d7ff50139205b454720c Mon Sep 17 00:00:00 2001 From: "Aaron J. Seigo" Date: Wed, 6 Feb 2008 01:25:59 +0000 Subject: [PATCH] be a little more paranoid about setting the info. svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=771449 --- widgets/tooltip.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/widgets/tooltip.cpp b/widgets/tooltip.cpp index 51dc208c2..faeede203 100644 --- a/widgets/tooltip.cpp +++ b/widgets/tooltip.cpp @@ -141,8 +141,13 @@ void ToolTip::showToolTip() } layout()->activate(); + if (isVisible()) { + d->preview->setInfo(); + } else { + setVisible(true); + } + d->isShown = true; //ToolTip is visible - setVisible(true); resize(sizeHint()); move(d->currentWidget->popupPosition(size())); }