diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/tabbar.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/tabbar.cpp b/src/tabbar.cpp index ac050191..b43bf4d0 100644 --- a/src/tabbar.cpp +++ b/src/tabbar.cpp @@ -272,11 +272,7 @@ void TabBar::mousePressEvent(QMouseEvent *event) { // just close tab on middle mouse click if (event->button() == Qt::MidButton) - { - int index = tabAt(event->pos()); - emit closeTab(index); return; - } KTabBar::mousePressEvent(event); } |