[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/4.3/kdelibs/khtml
From:       Martin Koller <kollix () aon ! at>
Date:       2009-09-14 19:48:41
Message-ID: 1252957721.986363.28933.nullmailer () svn ! kde ! org
[Download RAW message or body]

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 <kurllabel.h>
 
 #include <QtGui/QClipboard>
+#include <QtGui/QToolTip>
 #include <QtCore/QFile>
 #include <QtCore/QMetaEnum>
 #include <QtGui/QTextDocument>
@@ -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();
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic