summaryrefslogtreecommitdiff
path: root/src/application.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-12-14 00:07:05 +0100
committerAndrea Diamantini <adjam7@gmail.com>2009-12-14 00:07:05 +0100
commitff8ea24c948a3f3a8e8f1652f3a6a95fc57275a8 (patch)
tree79e22a2643048aa6d928e81d8ba7d84c295864e0 /src/application.cpp
parentJust some stupid fixes (diff)
downloadrekonq-ff8ea24c948a3f3a8e8f1652f3a6a95fc57275a8.tar.xz
Moved url storing operation (add to history) in the loadUrl function,
after uri filters. This way we stored everytime the "real" url we load :)
Diffstat (limited to 'src/application.cpp')
-rw-r--r--src/application.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/application.cpp b/src/application.cpp
index 246d6aa5..cf77be57 100644
--- a/src/application.cpp
+++ b/src/application.cpp
@@ -347,6 +347,9 @@ void Application::loadUrl(const KUrl& url, const Rekonq::OpenType& type)
}
// ------------------- END WARNING --------------------------------------
+ // we are sure of the url now, let's add it to history
+ historyManager()->addHistoryEntry( loadingUrl.prettyUrl() );
+
if (!ReKonfig::openTabsBack())
{
w->mainView()->urlBar()->setUrl(loadingUrl.prettyUrl());