diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2012-01-17 11:20:50 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2012-01-17 11:20:50 +0100 |
commit | 71af427f0e43589997b1da85b2d77074c564cfaa (patch) | |
tree | d9a48aedf00045b6d3f3bd309f592e356e74aa5b /src/mainwindow.cpp | |
parent | Check if action senders exist before using them (diff) | |
download | rekonq-71af427f0e43589997b1da85b2d77074c564cfaa.tar.xz |
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
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r-- | src/mainwindow.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
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++) |