summaryrefslogtreecommitdiff
path: root/tools/assistant
diff options
context:
space:
mode:
authorkh1 <qt-info@nokia.com>2010-06-23 16:28:53 +0200
committerkh1 <qt-info@nokia.com>2010-06-23 16:28:53 +0200
commit8cd7b92b890e392f830b626283c647e7e0118a23 (patch)
tree2609323aa649e4e625effd162503852f23192f18 /tools/assistant
parentcbbaa029501d8833773d599b630aa44ded5d6c78 (diff)
downloadqt4-tools-8cd7b92b890e392f830b626283c647e7e0118a23.tar.gz
We need to swallow the event, otherwise it might pop up several times.
Reviewed-by: kh
Diffstat (limited to 'tools/assistant')
-rw-r--r--tools/assistant/tools/assistant/bookmarkmanager.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/assistant/tools/assistant/bookmarkmanager.cpp b/tools/assistant/tools/assistant/bookmarkmanager.cpp
index 4bc7027d4c..23632b15cb 100644
--- a/tools/assistant/tools/assistant/bookmarkmanager.cpp
+++ b/tools/assistant/tools/assistant/bookmarkmanager.cpp
@@ -240,6 +240,7 @@ bool BookmarkManager::eventFilter(QObject *object, QEvent *event)
case Qt::Key_Delete: {
removeItem(bookmarkTreeView->currentIndex());
+ return true;
} break;
case Qt::Key_Up: { // needs event filter on widget