From a593ad0b990a639a158908a8be8a645e270f4429 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Wed, 23 Apr 2008 18:28:23 +0000 Subject: 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 --- src/dolphinmainwindow.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/dolphinmainwindow.cpp') 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); -- cgit v1.3