From: Peter Penz Date: Wed, 23 Apr 2008 18:28:23 +0000 (+0000) Subject: let a double-click on the empty tab-area open a new tab (-> consistent with konsole... X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/a593ad0b990a639a158908a8be8a645e270f4429 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 --- 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);