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/mainview.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mainview.cpp') diff --git a/src/mainview.cpp b/src/mainview.cpp index 850101e2..94dc1688 100644 --- a/src/mainview.cpp +++ b/src/mainview.cpp @@ -286,6 +286,8 @@ WebTab *MainView::newWebTab(bool focused) connect(tab, SIGNAL(titleChanged(const QString &)), this, SLOT(webViewTitleChanged(const QString &))); connect(tab->view(), SIGNAL(urlChanged(const QUrl &)), this, SLOT(webViewUrlChanged(const QUrl &))); connect(tab->view(), SIGNAL(iconChanged()), this, SLOT(webViewIconChanged())); + connect(tab->view(), SIGNAL(openPreviousInHistory()), this, SIGNAL(openPreviousInHistory())); + connect(tab->view(), SIGNAL(openNextInHistory()), this, SIGNAL(openNextInHistory())); // connecting webPage signals with mainview connect(tab->page(), SIGNAL(windowCloseRequested()), this, SLOT(windowCloseRequested())); -- cgit v1.2.1