diff options
-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(); |