diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-03-15 10:01:37 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-03-15 10:01:37 +0100 |
commit | abc20c59b0a6a9a294cb7e803baf138db34fb61c (patch) | |
tree | 967e88f170e786483f037c293d4ca53ab98122e5 | |
parent | Created a new Network Widget containing Cache, Cookies & Proxy Settings. (diff) | |
parent | Close the tab preview when the tab is clicked (diff) | |
download | rekonq-abc20c59b0a6a9a294cb7e803baf138db34fb61c.tar.xz |
Merge commit 'refs/merge-requests/106' of git://gitorious.org/rekonq/mainline into m106
-rw-r--r-- | src/tabbar.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/tabbar.cpp b/src/tabbar.cpp index 80782116..44972548 100644 --- a/src/tabbar.cpp +++ b/src/tabbar.cpp @@ -244,6 +244,15 @@ void TabBar::leaveEvent(QEvent *event) void TabBar::mousePressEvent(QMouseEvent *event) { + if (ReKonfig::alwaysShowTabPreviews()) + { + if ( !m_previewPopup.isNull() ) + { + m_previewPopup.data()->hide(); + } + m_currentTabPreview = -1; + } + // just close tab on middle mouse click if (event->button() == Qt::MidButton) return; |