summaryrefslogtreecommitdiff
path: root/src/mainview.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-02-06 15:00:15 +0100
committerAndrea Diamantini <adjam7@gmail.com>2010-02-06 15:00:15 +0100
commit54ea0c94db8a98bf304f475cb7a7f1528c3a5e3b (patch)
tree5e5637a61f54a0a7659fd249b59c22181f6936e5 /src/mainview.cpp
parenti18n, pointers & fixes.. (diff)
parentReplace zoom setting submenu by a widget with a slider (diff)
downloadrekonq-54ea0c94db8a98bf304f475cb7a7f1528c3a5e3b.tar.xz
Merge commit 'refs/merge-requests/86' of git://gitorious.org/rekonq/mainline into ZoomSlide
Diffstat (limited to 'src/mainview.cpp')
-rw-r--r--src/mainview.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainview.cpp b/src/mainview.cpp
index bc9d0bda..57185fd2 100644
--- a/src/mainview.cpp
+++ b/src/mainview.cpp
@@ -306,6 +306,10 @@ void MainView::currentChanged(int index)
emit browserTabLoading(true);
else
emit browserTabLoading(false);
+
+ // update zoom slider
+ if(!Application::instance()->mainWindowList().isEmpty())
+ Application::instance()->mainWindow()->setZoomSliderFactor(tab->view()->zoomFactor());
// set focus to the current webview
tab->view()->setFocus();