┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2008-04-23 18:28:23 +0000
committerPeter Penz <[email protected]>2008-04-23 18:28:23 +0000
commita593ad0b990a639a158908a8be8a645e270f4429 (patch)
tree0f4db886a8b694f414263520c21becc2056fe7ec
parent9e2b078d039d51fdaad26c76e814d4a6ab5fc876 (diff)
let a double-click on the empty tab-area open a new tab (-> consistent with konsole behavior)
svn path=/trunk/KDE/kdebase/apps/; revision=800241
-rw-r--r--src/dolphinmainwindow.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp
index f551232a7..48956e093 100644
--- a/src/dolphinmainwindow.cpp
+++ b/src/dolphinmainwindow.cpp
@@ -808,6 +808,8 @@ void DolphinMainWindow::init()
this, SLOT(closeTab(int)));
connect(m_tabBar, SIGNAL(contextMenu(int, const QPoint&)),
this, SLOT(openTabContextMenu(int, const QPoint&)));
+ connect(m_tabBar, SIGNAL(newTabRequest()),
+ this, SLOT(openNewTab()));
m_tabBar->blockSignals(true); // signals get unblocked after at least 2 tabs are open
QWidget* centralWidget = new QWidget(this);