From 4dd21afd4c34db9f9588a32ea5d84d1f2ce47220 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Tue, 2 Feb 2010 03:40:43 +0100 Subject: Fix bug 219752 Johannes Zellner patch. Thanks :) BUG: 219752 --- src/tabbar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tabbar.cpp b/src/tabbar.cpp index 7326d7af..460a2464 100644 --- a/src/tabbar.cpp +++ b/src/tabbar.cpp @@ -199,7 +199,7 @@ void TabBar::mouseMoveEvent(QMouseEvent *event) } //if found and not the current tab then show tab preview - if (tab != -1 && tab != currentIndex() && m_currentTabPreview != tab) + if (tab != -1 && tab != currentIndex() && m_currentTabPreview != tab && event->buttons() == Qt::NoButton) { showTabPreview(tab); m_currentTabPreview = tab; -- cgit v1.2.1