diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-10-25 15:25:11 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-10-25 15:25:11 +0100 |
commit | 30ad8a8d5837ea709267ed47da02d1b314d22adf (patch) | |
tree | 5c367d7a695cb1c587f128e8823446eb7d99bb5e | |
parent | Fixing "Global" vs "standard" shortcuts. (diff) | |
download | rekonq-30ad8a8d5837ea709267ed47da02d1b314d22adf.tar.xz |
Ronny's close tab solution was better :)
-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); } |