diff options
author | Yoann <yoann.laissus@gmail.com> | 2010-12-09 00:11:59 +0100 |
---|---|---|
committer | Yoann <yoann.laissus@gmail.com> | 2010-12-09 00:11:59 +0100 |
commit | e1716cecc449e19818d5dd184d09d7600460b92d (patch) | |
tree | f280284371ee0e7d81a66ff4afe0ee896ebec1cb /src/bookmarks | |
parent | merge first Google Code-In submission: (diff) | |
download | rekonq-e1716cecc449e19818d5dd184d09d7600460b92d.tar.xz |
Don't change the BK folder in the BK bar when the mouse is under the current menu
BUG: 259244
Diffstat (limited to 'src/bookmarks')
-rw-r--r-- | src/bookmarks/bookmarkstoolbar.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bookmarks/bookmarkstoolbar.cpp b/src/bookmarks/bookmarkstoolbar.cpp index ae5c9d6e..63092b8d 100644 --- a/src/bookmarks/bookmarkstoolbar.cpp +++ b/src/bookmarks/bookmarkstoolbar.cpp @@ -227,7 +227,7 @@ void BookmarkToolBar::hideMenu() bool BookmarkToolBar::eventFilter(QObject *watched, QEvent *event) { - if (m_currentMenu && m_currentMenu->isVisible()) + if (m_currentMenu && m_currentMenu->isVisible() && !m_currentMenu->rect().contains(m_currentMenu->mapFromGlobal(QCursor::pos()))) { // To switch root folders as in a menubar KBookmarkActionMenu* act = dynamic_cast<KBookmarkActionMenu *>(toolBar()->actionAt(toolBar()->mapFromGlobal(QCursor::pos()))); |