From d522c6701d4eedd9021f0f431c6dc56f1ada04ed Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Mon, 19 Jan 2009 08:57:35 +0000 Subject: hide the tooltips when a key is pressed (thanks to Shaun Reich for the initial patch) CCMAIL: predator106@gmail.com svn path=/trunk/KDE/kdebase/apps/; revision=913383 --- src/dolphinview.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/dolphinview.cpp') diff --git a/src/dolphinview.cpp b/src/dolphinview.cpp index 6681fe189..ae120777a 100644 --- a/src/dolphinview.cpp +++ b/src/dolphinview.cpp @@ -863,6 +863,12 @@ bool DolphinView::eventFilter(QObject* watched, QEvent* event) } break; + case QEvent::KeyPress: + if ((watched == itemView()) && (m_toolTipManager != 0)) { + m_toolTipManager->hideTip(); + } + break; + default: break; } -- cgit v1.3