Re-add ability to open a new tab by double-clicking the tab bar.

I don't know why this was removed; please tell me if I'm interfering.

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=799364
This commit is contained in:
Constantin Berzan
2008-04-21 11:13:57 +00:00
parent 199dc3e99a
commit 7c0e11f649
3 changed files with 5 additions and 0 deletions

View File

@@ -605,6 +605,7 @@ TabbedViewContainerV2::TabbedViewContainerV2(NavigationPosition position , QObje
connect( _tabBar , SIGNAL(currentChanged(int)) , this , SLOT(currentTabChanged(int)) );
connect( _tabBar , SIGNAL(tabDoubleClicked(int)) , this , SLOT(tabDoubleClicked(int)) );
connect( _tabBar , SIGNAL(newTabRequest()) , this , SIGNAL(newViewRequest()) );
connect( _tabBar , SIGNAL(wheelDelta(int)) , this , SLOT(wheelScrolled(int)) );
connect( _tabBar , SIGNAL(mouseMiddleClick(int)) , this , SLOT(closeTab(int)) );
connect( _tabBar , SIGNAL(initiateDrag(int)) , this , SLOT(startTabDrag(int)) );