From 570dcabcd21c0821f4e55097f2cba5f90e481782 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Thu, 7 Mar 2013 16:41:08 +0100 Subject: Respect hovering settings BUG:316207 --- src/tabwindow/tabbar.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/tabwindow/tabbar.cpp') diff --git a/src/tabwindow/tabbar.cpp b/src/tabwindow/tabbar.cpp index 09368fef..bdd07573 100644 --- a/src/tabwindow/tabbar.cpp +++ b/src/tabwindow/tabbar.cpp @@ -25,9 +25,14 @@ * ============================================================ */ +// Self Includes #include "tabbar.h" #include "tabbar.moc" +// Auto Includes +#include "rekonq.h" + +// Local Includes #include "tabwindow.h" #include "tabhighlighteffect.h" #include "tabpreviewpopup.h" @@ -36,6 +41,7 @@ #include "iconmanager.h" #include "sessionmanager.h" +// KDE Includes #include #include #include @@ -43,6 +49,7 @@ #include #include +// Qt Includes #include #include #include @@ -374,6 +381,9 @@ void TabBar::mouseMoveEvent(QMouseEvent *event) return; } + if (ReKonfig::hoveringTabOption() != 0) + return; + // Find the tab under the mouse const int tabIndex = tabAt(event->pos()); -- cgit v1.2.1