diff options
author | matgic78 <matgic78@gmail.com> | 2010-02-02 18:42:19 +0100 |
---|---|---|
committer | matgic78 <matgic78@gmail.com> | 2010-02-06 11:31:12 +0100 |
commit | 79ce24b2d2d50c5dd594c25200122d07bb0e232c (patch) | |
tree | 52a8872e26e1dd6c083cb4e12944b720b7555efe /src/mainview.cpp | |
parent | QPointers --> QWeakPointers (diff) | |
download | rekonq-79ce24b2d2d50c5dd594c25200122d07bb0e232c.tar.xz |
Replace zoom setting submenu by a widget with a slider
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 b26e7466..02823d3b 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->setFocus(); |