diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-02-14 11:23:37 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-02-14 11:23:37 +0100 |
commit | 3e1ac6fb3f9865bf5bb0c156e985c1a4577b20e0 (patch) | |
tree | c0febbda6a1eff4693e856eb0bee65b3ac400136 /src/adblock/adblockmanager.cpp | |
parent | rekonq 0.3.91 (diff) | |
download | rekonq-3e1ac6fb3f9865bf5bb0c156e985c1a4577b20e0.tar.xz |
Krazy issues (1st branch)
Diffstat (limited to 'src/adblock/adblockmanager.cpp')
-rw-r--r-- | src/adblock/adblockmanager.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/adblock/adblockmanager.cpp b/src/adblock/adblockmanager.cpp index bcb5b556..06f0d164 100644 --- a/src/adblock/adblockmanager.cpp +++ b/src/adblock/adblockmanager.cpp @@ -83,10 +83,10 @@ void AdBlockManager::loadSettings() if (name.startsWith(QLatin1String("Filter"))) { - if(!url.startsWith("!")) + if(!url.startsWith('!')) { // white rules - if(url.startsWith("@@")) + if( url.startsWith( QLatin1String("@@") ) ) { AdBlockRule rule( url.mid(2) ); _whiteList << rule; @@ -94,7 +94,7 @@ void AdBlockManager::loadSettings() } // hide (CSS) rules - if(url.startsWith("##")) + if( url.startsWith( QLatin1String("##") ) ) { _hideList << url.mid(2); continue; |