diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-05-30 09:32:58 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-05-30 09:32:58 +0200 |
commit | afa78cbb781a61dfa4cd98628a55c8f59605ef49 (patch) | |
tree | 1545f0fb10618a70c718e7123e91de2b0928f146 | |
parent | Don't start a download if user canceled it (diff) | |
parent | Disable the tabBar drag and drop when there is only one tab (diff) | |
download | rekonq-afa78cbb781a61dfa4cd98628a55c8f59605ef49.tar.xz |
Merge commit 'refs/merge-requests/2287' of git://gitorious.org/rekonq/mainline into m2287
-rw-r--r-- | src/tabbar.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tabbar.cpp b/src/tabbar.cpp index 1274d813..5d6b7b2c 100644 --- a/src/tabbar.cpp +++ b/src/tabbar.cpp @@ -186,6 +186,11 @@ void TabBar::showTabPreview(int tab) void TabBar::mouseMoveEvent(QMouseEvent *event) { + if (count() == 1) + { + return; + } + if (event->buttons() & Qt::LeftButton) { // hide addNewTabButton when moving tabs |