summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-10-25 15:25:11 +0100
committerAndrea Diamantini <adjam7@gmail.com>2009-10-25 15:25:11 +0100
commit30ad8a8d5837ea709267ed47da02d1b314d22adf (patch)
tree5c367d7a695cb1c587f128e8823446eb7d99bb5e /src
parentFixing "Global" vs "standard" shortcuts. (diff)
downloadrekonq-30ad8a8d5837ea709267ed47da02d1b314d22adf.tar.xz
Ronny's close tab solution was better :)
Diffstat (limited to 'src')
-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);
}