]> cloud.milkyroute.net Git - dolphin.git/commitdiff
let a double-click on the empty tab-area open a new tab (-> consistent with konsole...
authorPeter Penz <peter.penz19@gmail.com>
Wed, 23 Apr 2008 18:28:23 +0000 (18:28 +0000)
committerPeter Penz <peter.penz19@gmail.com>
Wed, 23 Apr 2008 18:28:23 +0000 (18:28 +0000)
svn path=/trunk/KDE/kdebase/apps/; revision=800241

src/dolphinmainwindow.cpp

index f551232a79cac53da45c2d15b8c248f30202a6e0..48956e0936803a0ea127cc4834956fc6dd00640f 100644 (file)
@@ -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);