diff options
| author | Peter Penz <[email protected]> | 2009-01-19 08:57:35 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2009-01-19 08:57:35 +0000 |
| commit | d522c6701d4eedd9021f0f431c6dc56f1ada04ed (patch) | |
| tree | 162c082133ebfa663545fa82eb6f4c6eaefd3ba3 /src/dolphinview.cpp | |
| parent | 920307602bee17c6c3225db58ecdefd48a380ff0 (diff) | |
hide the tooltips when a key is pressed (thanks to Shaun Reich for the initial patch)
CCMAIL: [email protected]
svn path=/trunk/KDE/kdebase/apps/; revision=913383
Diffstat (limited to 'src/dolphinview.cpp')
| -rw-r--r-- | src/dolphinview.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
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; } |
