summaryrefslogtreecommitdiff
path: root/src/mainview.cpp
diff options
context:
space:
mode:
authorYoann Laissus <yoann.laissus@gmail.com>2010-05-30 16:50:36 +0200
committerYoann Laissus <yoann.laissus@gmail.com>2010-05-30 16:53:42 +0200
commit8765137a9ec0547b9edf3cb3b9ebae88a7043c2e (patch)
treeab87713795436cca9a903ca1f21d36bc192ba333 /src/mainview.cpp
parentMerge branch 'master' of gitorious.org:rekonq/mainline (diff)
downloadrekonq-8765137a9ec0547b9edf3cb3b9ebae88a7043c2e.tar.xz
- Sync mouse wheel zoom and the slider
- Fix mouse wheel zoom limits (slider's max and min)
Diffstat (limited to 'src/mainview.cpp')
-rw-r--r--src/mainview.cpp1
1 files changed, 1 insertions, 0 deletions
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()));