diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-02-06 15:00:15 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-02-06 15:00:15 +0100 |
commit | 54ea0c94db8a98bf304f475cb7a7f1528c3a5e3b (patch) | |
tree | 5e5637a61f54a0a7659fd249b59c22181f6936e5 /src/mainview.cpp | |
parent | i18n, pointers & fixes.. (diff) | |
parent | Replace zoom setting submenu by a widget with a slider (diff) | |
download | rekonq-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.cpp | 4 |
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(); |