summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-04-09 23:56:49 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-04-09 23:56:49 +0200
commitb0224159b26fc10c777ed8bbc9d27c166aa08941 (patch)
treea7a51359f993f146c6fc842c3445764c9b06cf1b /src
parentMerge commit 'refs/merge-requests/119' of git://gitorious.org/rekonq/mainline... (diff)
parentDo not save infos about canceled downloads (diff)
downloadrekonq-b0224159b26fc10c777ed8bbc9d27c166aa08941.tar.xz
Merge commit 'refs/merge-requests/120' of git://gitorious.org/rekonq/mainline into m120
Diffstat (limited to 'src')
-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: