diff options
author | matgic78 <matgic78@gmail.com> | 2010-04-09 19:01:59 +0200 |
---|---|---|
committer | matgic78 <matgic78@gmail.com> | 2010-04-09 19:01:59 +0200 |
commit | 7e81a6735dccfd66193b08bcdd0dcde5fdd999c7 (patch) | |
tree | 357e72136f2827438cc6bd59e45fa30c3f9d702c /src/webpage.cpp | |
parent | SVN_SILENT made messages (.desktop file) (diff) | |
download | rekonq-7e81a6735dccfd66193b08bcdd0dcde5fdd999c7.tar.xz |
Do not save infos about canceled downloads
Diffstat (limited to 'src/webpage.cpp')
-rw-r--r-- | src/webpage.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/webpage.cpp b/src/webpage.cpp index 628b0136..65dda0a0 100644 --- a/src/webpage.cpp +++ b/src/webpage.cpp @@ -445,12 +445,12 @@ void WebPage::downloadRequest(const QNetworkRequest &request) } while ( result == KIO::R_CANCEL && destUrl.isValid() ); - // now store data - // now, destUrl, srcUrl - Application::historyManager()->addDownload( srcUrl.pathOrUrl() , destUrl.pathOrUrl() ); - if ( result == KIO::R_OVERWRITE && destUrl.isValid() ) - { + { + // now store data + // now, destUrl, srcUrl + Application::historyManager()->addDownload( srcUrl.pathOrUrl() , destUrl.pathOrUrl() ); + if ( ReKonfig::kgetDownload() ) { //KGet integration: |