mirror of
https://invent.kde.org/system/dolphin
synced 2024-11-05 18:47:12 +00:00
Remove custom handling of wheel-events for tabs, this is done now in KTabBar
CCBUG: 248962 svn path=/trunk/KDE/kdebase/apps/; revision=1171577
This commit is contained in:
parent
e53ce0959f
commit
1dfb2f385a
2 changed files with 0 additions and 14 deletions
|
@ -335,15 +335,6 @@ void DolphinMainWindow::slotSelectionChanged(const KFileItemList& selection)
|
|||
emit selectionChanged(selection);
|
||||
}
|
||||
|
||||
void DolphinMainWindow::slotWheelMoved(int wheelDelta)
|
||||
{
|
||||
if (wheelDelta > 0) {
|
||||
activatePrevTab();
|
||||
} else {
|
||||
activateNextTab();
|
||||
}
|
||||
}
|
||||
|
||||
void DolphinMainWindow::slotRequestItemInfo(const KFileItem& item)
|
||||
{
|
||||
emit requestItemInfo(item);
|
||||
|
@ -1241,8 +1232,6 @@ void DolphinMainWindow::init()
|
|||
this, SLOT(openNewTab()));
|
||||
connect(m_tabBar, SIGNAL(testCanDecode(const QDragMoveEvent*, bool&)),
|
||||
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)));
|
||||
connect(m_tabBar, SIGNAL(tabMoved(int, int)),
|
||||
|
|
|
@ -318,9 +318,6 @@ private slots:
|
|||
*/
|
||||
void slotSelectionChanged(const KFileItemList& selection);
|
||||
|
||||
/** Enables changing of tabs via mouse wheel. */
|
||||
void slotWheelMoved(int wheelDelta);
|
||||
|
||||
/** Emits the signal requestItemInfo(). */
|
||||
void slotRequestItemInfo(const KFileItem&);
|
||||
|
||||
|
|
Loading…
Reference in a new issue