diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-09-20 11:23:51 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-09-20 11:23:51 +0200 |
commit | 5bacded29a5e33c027a39a537bf2b0f3e9c6243d (patch) | |
tree | 5d754f4cf2555c9e1ce0ab6864c3588a1843e4d6 /src/mainwindow.cpp | |
parent | SVN_SILENT made messages (.desktop file) (diff) | |
parent | Change the behavior of Ctrl+Maj+T to open only the last closed tab (diff) | |
download | rekonq-5bacded29a5e33c027a39a537bf2b0f3e9c6243d.tar.xz |
Merge commit 'refs/merge-requests/216' of git://gitorious.org/rekonq/mainline into m216
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r-- | src/mainwindow.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 4c766ba0..4d3dfc91 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -449,10 +449,10 @@ void MainWindow::setupActions() actionCollection()->addAction(QL1S("show_prev_tab"), a); connect(a, SIGNAL(triggered(bool)), m_view, SLOT(previousTab())); - a = new KAction(KIcon("tab-new"), i18n("Open Closed Tabs"), this); + a = new KAction(KIcon("tab-new"), i18n("Open Last Closed Tab"), this); a->setShortcut(KShortcut(Qt::CTRL + Qt::SHIFT + Qt::Key_T)); - actionCollection()->addAction(QL1S("open_closed_tabs"), a); - connect(a, SIGNAL(triggered(bool)), m_view, SLOT(openClosedTabs())); + actionCollection()->addAction(QL1S("open_last_closed_tab"), a); + connect(a, SIGNAL(triggered(bool)), m_view, SLOT(openLastClosedTab())); // Closed Tabs Menu KActionMenu *closedTabsMenu = new KActionMenu(KIcon("tab-new"), i18n("Closed Tabs"), this); |