diff options
| author | Shaun Reich <[email protected]> | 2009-02-10 20:48:16 +0000 |
|---|---|---|
| committer | Shaun Reich <[email protected]> | 2009-02-10 20:48:16 +0000 |
| commit | 5cec8a2dd95d6ccbc0d425c449df70cd645e3d29 (patch) | |
| tree | 84383b65032f572bba8f2754faa92d96247d912b /src/dolphinmainwindow.cpp | |
| parent | 3cfeee94d440d266484772df579ee4c4b3484d88 (diff) | |
Middle-clicking on tabs will now close them.
svn path=/trunk/KDE/kdebase/apps/; revision=924467
Diffstat (limited to 'src/dolphinmainwindow.cpp')
| -rw-r--r-- | src/dolphinmainwindow.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index b41561b28..697fba85f 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -907,6 +907,8 @@ void DolphinMainWindow::init() this, SLOT(slotTestCanDecode(const QDragMoveEvent*, bool&))); connect(m_tabBar, SIGNAL(wheelDelta(int)), this, SLOT(slotWheelMoved(int))); + connect(m_tabBar, SIGNAL(mouseMiddleClick(int)), + this, SLOT(closeTab(int))); m_tabBar->blockSignals(true); // signals get unblocked after at least 2 tabs are open |
