summaryrefslogtreecommitdiff
path: root/src/tabbar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tabbar.cpp')
-rw-r--r--src/tabbar.cpp4
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);
}