summaryrefslogtreecommitdiff
path: root/src/mainview.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-09-20 00:34:07 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-09-20 00:34:07 +0200
commit709e63d2ac193cb0807bcfa223543c855ce8c282 (patch)
treefa148c355911a98f6a06f2f87897ac32a3e9766a /src/mainview.cpp
parentrekonq 0.2.58 with the new homepage! (diff)
downloadrekonq-709e63d2ac193cb0807bcfa223543c855ce8c282.tar.xz
open a new tab on double click on empty tab area
Courtesy patch from Ronny Sholz (Thanks!)
Diffstat (limited to 'src/mainview.cpp')
-rw-r--r--src/mainview.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mainview.cpp b/src/mainview.cpp
index a662bbb0..79e8f165 100644
--- a/src/mainview.cpp
+++ b/src/mainview.cpp
@@ -79,6 +79,7 @@ MainView::MainView(QWidget *parent)
// connecting tabbar signals
connect(m_tabBar, SIGNAL(closeTab(int)), this, SLOT(slotCloseTab(int)));
connect(m_tabBar, SIGNAL(mouseMiddleClick(int)), this, SLOT(slotCloseTab(int)));
+ connect(m_tabBar, SIGNAL(newTabRequest()), this, SLOT(newTab()));
connect(m_tabBar, SIGNAL(cloneTab(int)), this, SLOT(slotCloneTab(int)));
connect(m_tabBar, SIGNAL(closeOtherTabs(int)), this, SLOT(slotCloseOtherTabs(int)));