diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2013-12-08 21:29:53 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2013-12-08 21:29:53 +0100 |
commit | d511d667e1d4881c353431a225275db05178bb4d (patch) | |
tree | ee759692d1b51e9cf9e04b4c2d070d48e119b803 | |
parent | Added option for global zoom settings :) (diff) | |
download | rekonq-d511d667e1d4881c353431a225275db05178bb4d.tar.xz |
Get sure right zoom is restored...
-rw-r--r-- | src/webtab/webpage.cpp | 4 | ||||
-rw-r--r-- | src/webtab/webtab.cpp | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/webtab/webpage.cpp b/src/webtab/webpage.cpp index e4ff22d5..0612155a 100644 --- a/src/webtab/webpage.cpp +++ b/src/webtab/webpage.cpp @@ -584,8 +584,8 @@ void WebPage::loadStarted() QString stringValue = group.readEntry(_loadingUrl.host(), QString::number(ReKonfig::defaultZoom())); int value = stringValue.toInt(); - if (value != 10) - mainFrame()->setZoomFactor(value / 10.0); // Don't allox max +1 values + // kDebug() << "ZOOM VALUE: " << value; + mainFrame()->setZoomFactor(value / 10.0); // Don't allox max +1 values } diff --git a/src/webtab/webtab.cpp b/src/webtab/webtab.cpp index eb887304..d12d68dd 100644 --- a/src/webtab/webtab.cpp +++ b/src/webtab/webtab.cpp @@ -473,6 +473,7 @@ void WebTab::setZoom(int zoomFactor) { // This is needed because of the WebView zoomChanged signal... m_zoomFactor = zoomFactor; + // kDebug() << "NEW ZOOM FACTOR: " << zoomFactor; // set zoom factor KSharedConfig::Ptr config = KGlobal::config(); |