From d44c64e440e8d551d528eeafef97407c77cd420a Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Fri, 4 Jun 2010 02:38:35 +0200 Subject: This should fix the Ctrl+w bug. Anyway, it really doesn't solve it: there is a corner case where the trick implemented doesn't work. We'll see if someone can fix also that.. BUG:233937 --- src/mainview.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/mainview.h') diff --git a/src/mainview.h b/src/mainview.h index 636d37ac..f0a1982f 100644 --- a/src/mainview.h +++ b/src/mainview.h @@ -125,14 +125,17 @@ public slots: */ void newTab(); + // Indexed slots void cloneTab(int index = -1); void closeTab(int index = -1, bool del = true); - void closeOtherTabs(int index); + void closeOtherTabs(int index = -1); void reloadTab(int index = -1); + void detachTab(int index = -1); + void reloadAllTabs(); void nextTab(); void previousTab(); - void detachTab(int index = -1); + void openClosedTabs(); void openClosedTab(); void switchToTab(); -- cgit v1.2.1