mirror of
https://invent.kde.org/system/dolphin
synced 2024-11-05 18:47:12 +00:00
Middle-clicking on tabs will now close them.
svn path=/trunk/KDE/kdebase/apps/; revision=924467
This commit is contained in:
parent
3cfeee94d4
commit
5cec8a2dd9
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue