summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorFelix Rohrbach <fxrh@gmx.de>2011-01-05 09:45:49 +0100
committerJon Ander PeƱalba <jonan88@gmail.com>2011-01-05 09:45:49 +0100
commitec6384711a5cd4805657cb42eda0dc17f46b95e1 (patch)
tree32847d74fd9004b47fb1725995bb8c613c759dd2 /src/mainwindow.cpp
parentcharset static tests (diff)
downloadrekonq-ec6384711a5cd4805657cb42eda0dc17f46b95e1.tar.xz
Horizontal scroll wheel may now be used to navigate through history (Disabled by default).
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp4
1 files changed, 4 insertions, 0 deletions
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()));