summaryrefslogtreecommitdiff
path: root/src/adblock
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2013-02-21 16:52:09 +0100
committerAndrea Diamantini <adjam7@gmail.com>2013-02-21 16:52:09 +0100
commit09ab5be1e6fb1141cf652fd8b7f009a453730dc9 (patch)
tree658d50f24617f6a7e4b44b87dba21672acf0ded4 /src/adblock
parentDo not display Access Keys upon Ctrl+Click. (diff)
downloadrekonq-09ab5be1e6fb1141cf652fd8b7f009a453730dc9.tar.xz
Add overwrite flag to file copy ad filters list to not bother users
about
Diffstat (limited to 'src/adblock')
-rw-r--r--src/adblock/adblockmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/adblock/adblockmanager.cpp b/src/adblock/adblockmanager.cpp
index 30fcb0d0..4b603b8c 100644
--- a/src/adblock/adblockmanager.cpp
+++ b/src/adblock/adblockmanager.cpp
@@ -302,7 +302,7 @@ void AdBlockManager::updateSubscription(int i)
QString rulesFilePath = KStandardDirs::locateLocal("appdata" , QL1S("adblockrules_") + n);
KUrl destUrl = KUrl(rulesFilePath);
- KIO::FileCopyJob* job = KIO::file_copy(subUrl , destUrl, -1, KIO::HideProgressInfo);
+ KIO::FileCopyJob* job = KIO::file_copy(subUrl , destUrl, -1, KIO::HideProgressInfo | KIO::Overwrite);
job->metaData().insert("ssl_no_client_cert", "TRUE");
job->metaData().insert("ssl_no_ui", "TRUE");
job->metaData().insert("UseCache", "false");