summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormatgic78 <matgic78@gmail.com>2010-04-09 19:01:59 +0200
committermatgic78 <matgic78@gmail.com>2010-04-09 19:01:59 +0200
commit7e81a6735dccfd66193b08bcdd0dcde5fdd999c7 (patch)
tree357e72136f2827438cc6bd59e45fa30c3f9d702c
parentSVN_SILENT made messages (.desktop file) (diff)
downloadrekonq-7e81a6735dccfd66193b08bcdd0dcde5fdd999c7.tar.xz
Do not save infos about canceled downloads
-rw-r--r--src/webpage.cpp10
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: