From 67ed4f88998e30b90cfcb93cd8e6bd7e4d0ae7bd Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Fri, 6 Jul 2012 22:46:16 +0200 Subject: Fix adblock hide behavior NOTE: You'll find also some style & copyrights fixes here. Just reenable the git hooks scripts... BUG: 302050 --- src/webpage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/webpage.cpp') diff --git a/src/webpage.cpp b/src/webpage.cpp index b6e5a62d..49345ad0 100644 --- a/src/webpage.cpp +++ b/src/webpage.cpp @@ -468,7 +468,7 @@ void WebPage::loadStarted() KSharedConfig::Ptr config = KGlobal::config(); KConfigGroup group(config, "Zoom"); val = group.readEntry(_loadingUrl.host(), QString("10")); - + int value = val.toInt(); if (value != 10) mainFrame()->setZoomFactor(QVariant(value).toReal() / 10); // Don't allox max +1 values -- cgit v1.2.1