summaryrefslogtreecommitdiff
path: root/src/webpage.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2012-07-06 22:46:16 +0200
committerAndrea Diamantini <adjam7@gmail.com>2012-07-06 22:46:16 +0200
commit67ed4f88998e30b90cfcb93cd8e6bd7e4d0ae7bd (patch)
tree2cf2c3b2034265ee4111cce99c03466c6314c745 /src/webpage.cpp
parentFixed a line that was calling QString::startsWith() without args. Fixed build. (diff)
downloadrekonq-67ed4f88998e30b90cfcb93cd8e6bd7e4d0ae7bd.tar.xz
Fix adblock hide behavior
NOTE: You'll find also some style & copyrights fixes here. Just reenable the git hooks scripts... BUG: 302050
Diffstat (limited to 'src/webpage.cpp')
-rw-r--r--src/webpage.cpp2
1 files changed, 1 insertions, 1 deletions
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