diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2012-07-06 22:46:16 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2012-07-06 22:46:16 +0200 |
commit | 67ed4f88998e30b90cfcb93cd8e6bd7e4d0ae7bd (patch) | |
tree | 2cf2c3b2034265ee4111cce99c03466c6314c745 /src/webpage.cpp | |
parent | Fixed a line that was calling QString::startsWith() without args. Fixed build. (diff) | |
download | rekonq-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.cpp | 2 |
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 |