From kde-commits Mon Sep 14 19:48:41 2009 From: Martin Koller Date: Mon, 14 Sep 2009 19:48:41 +0000 To: kde-commits Subject: branches/KDE/4.3/kdelibs/khtml Message-Id: <1252957721.986363.28933.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=125295773804631 SVN commit 1023473 by mkoller: Backport r1023472 by mkoller from trunk to the 4.3 branch: CCBUG: 95628 Hide the current tooltip when showing a new page M +4 -0 khtml_part.cpp --- branches/KDE/4.3/kdelibs/khtml/khtml_part.cpp #1023472:1023473 @@ -115,6 +115,7 @@ #include #include +#include #include #include #include @@ -1988,6 +1989,9 @@ void KHTMLPart::begin( const KUrl &url, int xOffset, int yOffset ) { + if ( d->m_view->underMouse() ) + QToolTip::hideText(); // in case a previous tooltip is still shown + // No need to show this for a new page until an error is triggered if (!parentPart()) { removeJSErrorExtension();