From ec6384711a5cd4805657cb42eda0dc17f46b95e1 Mon Sep 17 00:00:00 2001 From: Felix Rohrbach Date: Wed, 5 Jan 2011 09:45:49 +0100 Subject: Horizontal scroll wheel may now be used to navigate through history (Disabled by default). --- src/mainwindow.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/mainwindow.cpp') diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 3a9c1246..11c00c28 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -304,6 +304,10 @@ void MainWindow::postLaunch() // (shift +) ctrl + tab switching connect(this, SIGNAL(ctrlTabPressed()), m_view, SLOT(nextTab())); connect(this, SIGNAL(shiftCtrlTabPressed()), m_view, SLOT(previousTab())); + + // wheel history navigation + connect(m_view, SIGNAL(openPreviousInHistory()), this, SLOT(openPrevious())); + connect(m_view, SIGNAL(openNextInHistory()), this, SLOT(openNext())); // update toolbar actions signals connect(m_view, SIGNAL(tabsChanged()), this, SLOT(updateActions())); -- cgit v1.2.1