Hello rekonqs,

i made a small patch that opens a new tab if the user double clicks into the 
empty area on the tabbar.
Hope this will get into mainline as I am using this function in firefox very 
often.

Patch was created against current rekonq/mainline:master

Greetings,
Ronny
diff --git a/src/mainview.cpp b/src/mainview.cpp
index a12ec8f..0a9516b 100644
--- a/src/mainview.cpp
+++ b/src/mainview.cpp
@@ -77,6 +77,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)));
_______________________________________________
rekonq mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/rekonq

Reply via email to