summaryrefslogtreecommitdiff
path: root/src/webpage.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-07-21 13:04:14 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-07-21 13:04:14 +0200
commit644c7c8c062228c760b490838748c5f14547ff1c (patch)
tree624769f17e4a250712776eaeb095ac3585877066 /src/webpage.cpp
parentDon't hide the bookmarks toolbar by default (diff)
downloadrekonq-644c7c8c062228c760b490838748c5f14547ff1c.tar.xz
Moving download history management from HistoryManager to Application class
It's actually the same, but probably a bit more coherent. More over, we are going to change a lot of things in the HistoryManager class...
Diffstat (limited to 'src/webpage.cpp')
-rw-r--r--src/webpage.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/webpage.cpp b/src/webpage.cpp
index 939d7128..a63940b0 100644
--- a/src/webpage.cpp
+++ b/src/webpage.cpp
@@ -136,8 +136,8 @@ static bool downloadResource (const KUrl& srcUrl, const KIO::MetaData& metaData
}
while (result == KIO::R_CANCEL && destUrl.isValid());
- // Save download on history manager
- Application::historyManager()->addDownload(srcUrl.pathOrUrl() , destUrl.pathOrUrl());
+ // Save download history
+ Application::instance()->addDownload(srcUrl.pathOrUrl() , destUrl.pathOrUrl());
if (ReKonfig::kgetDownload())
{