From 7e81a6735dccfd66193b08bcdd0dcde5fdd999c7 Mon Sep 17 00:00:00 2001 From: matgic78 Date: Fri, 9 Apr 2010 19:01:59 +0200 Subject: Do not save infos about canceled downloads --- src/webpage.cpp | 10 +++++----- 1 file 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: -- cgit v1.2.1