From 71af427f0e43589997b1da85b2d77074c564cfaa Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Tue, 17 Jan 2012 11:20:50 +0100 Subject: Remove "closed tabs menu" from available actions in mainwindow This because it is just a "working" action designed for the tabbar. Now it works (and updates) properly there and in the tabbar empty space. Please open a new wish if you want a closed tabs menu action to add to the mainwindow BUG:291232 --- src/mainwindow.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/mainwindow.cpp') diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index f2ee25be..87b92a70 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -114,6 +114,7 @@ MainWindow::MainWindow() , m_loadStopReloadAction(0) , m_historyBackMenu(0) , m_historyForwardMenu(0) + , m_tabListMenu(0) , m_bookmarksBar(0) , m_popup(new QLabel(this)) , m_hidePopupTimer(new QTimer(this)) @@ -458,11 +459,6 @@ void MainWindow::setupActions() actionCollection()->addAction(QL1S("open_last_closed_tab"), a); connect(a, SIGNAL(triggered(bool)), m_view, SLOT(openClosedTab())); - // Closed Tabs Menu - KActionMenu *closedTabsMenu = new KActionMenu(KIcon("tab-new"), i18n("Closed Tabs"), this); - closedTabsMenu->setDelayed(false); - actionCollection()->addAction(QL1S("closed_tab_menu"), closedTabsMenu); - // shortcuts for quickly switching to a tab QSignalMapper *tabSignalMapper = new QSignalMapper(this); for (int i = 1; i <= 9; i++) -- cgit v1.2.1