From 5798e081f52371b9fd91cf0348cc946ebcc28a4a Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Mon, 19 Mar 2012 16:47:11 +0100 Subject: Let additional mouse buttons trigger history navigation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Thanks to Sebastian Dörner for the patch! REVIEW: 101335 BUG: 181823 FIXED-IN: 4.9 --- src/dolphinmainwindow.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/dolphinmainwindow.cpp') diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index 4c551b2c3..947db7703 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -2123,6 +2123,10 @@ void DolphinMainWindow::connectViewSignals(DolphinViewContainer* container) this, SLOT(enableStopAction())); connect(view, SIGNAL(finishedPathLoading(KUrl)), this, SLOT(disableStopAction())); + connect(view, SIGNAL(goBackRequested()), + this, SLOT(goBack())); + connect(view, SIGNAL(goForwardRequested()), + this, SLOT(goForward())); const KUrlNavigator* navigator = container->urlNavigator(); connect(navigator, SIGNAL(urlChanged(KUrl)), -- cgit v1.3