From 8765137a9ec0547b9edf3cb3b9ebae88a7043c2e Mon Sep 17 00:00:00 2001 From: Yoann Laissus Date: Sun, 30 May 2010 16:50:36 +0200 Subject: - Sync mouse wheel zoom and the slider - Fix mouse wheel zoom limits (slider's max and min) --- src/mainview.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mainview.cpp') diff --git a/src/mainview.cpp b/src/mainview.cpp index 84dc70af..0b17ef2a 100644 --- a/src/mainview.cpp +++ b/src/mainview.cpp @@ -329,6 +329,7 @@ WebTab *MainView::newWebTab(bool focused, bool nearParent) connect(tab->view(), SIGNAL(iconChanged()), this, SLOT(webViewIconChanged())); connect(tab->view(), 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(zoomChanged(qreal)), m_parentWindow, SLOT(setZoomSliderFactor(qreal))); // connecting webPage signals with mainview connect(tab->view()->page(), SIGNAL(windowCloseRequested()), this, SLOT(windowCloseRequested())); -- cgit v1.2.1