summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-12-16 15:24:53 +0100
committerAndrea Diamantini <adjam7@gmail.com>2009-12-16 15:24:53 +0100
commit6b3531099f72a7f460c15312707b65ca0415cfe4 (patch)
tree5f1c9719c6d948bddee6260aeda6b6596d4ff1d9 /src/mainwindow.cpp
parentCleaner file management (diff)
downloadrekonq-6b3531099f72a7f460c15312707b65ca0415cfe4.tar.xz
detach tab action
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index a9d014ef..d413e217 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -393,6 +393,10 @@ void MainWindow::setupActions()
actionCollection()->addAction( QLatin1String("reload_tab"), a);
connect(a, SIGNAL(triggered(bool)), m_view->tabBar(), SLOT(reloadTab()) );
+ a = new KAction(KIcon("tab-detach"), i18n("Detach Tab"), this);
+ actionCollection()->addAction( QLatin1String("detach_tab"), a);
+ connect(a, SIGNAL(triggered(bool)), m_view->tabBar(), SLOT(detachTab()) );
+
// ----------------------- Bookmarks ToolBar Action --------------------------------------
QAction *qa = m_bmBar->toggleViewAction();
qa->setText( i18n("Bookmarks Toolbar") );