summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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: