From 644c7c8c062228c760b490838748c5f14547ff1c Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Wed, 21 Jul 2010 13:04:14 +0200 Subject: 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... --- src/webpage.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/webpage.cpp') 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()) { -- cgit v1.2.1