diff options
author | kh1 <qt-info@nokia.com> | 2010-06-23 14:28:53 (GMT) |
---|---|---|
committer | kh1 <qt-info@nokia.com> | 2010-06-23 14:28:53 (GMT) |
commit | 8cd7b92b890e392f830b626283c647e7e0118a23 (patch) | |
tree | 2609323aa649e4e625effd162503852f23192f18 | |
parent | cbbaa029501d8833773d599b630aa44ded5d6c78 (diff) | |
download | Qt-8cd7b92b890e392f830b626283c647e7e0118a23.zip Qt-8cd7b92b890e392f830b626283c647e7e0118a23.tar.gz Qt-8cd7b92b890e392f830b626283c647e7e0118a23.tar.bz2 |
We need to swallow the event, otherwise it might pop up several times.
Reviewed-by: kh
-rw-r--r-- | tools/assistant/tools/assistant/bookmarkmanager.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/assistant/tools/assistant/bookmarkmanager.cpp b/tools/assistant/tools/assistant/bookmarkmanager.cpp index 4bc7027..23632b1 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 |