diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-08-19 17:43:03 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-08-19 21:03:47 +0200 |
commit | 7f424fda8e013ab895264156ba7b0f84a348ae6f (patch) | |
tree | 543ac39768f7e4370ed107188ffc40d518da41c2 /src | |
parent | HistoryManager review (the second): (diff) | |
download | rekonq-7f424fda8e013ab895264156ba7b0f84a348ae6f.tar.xz |
Stupid me, QtWebKit calls addHistoryEntry itself when you let it load a page..
Diffstat (limited to 'src')
-rw-r--r-- | src/application.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/application.cpp b/src/application.cpp index 8a24014d..5cc3b460 100644 --- a/src/application.cpp +++ b/src/application.cpp @@ -451,12 +451,6 @@ void Application::loadResolvedUrl(ThreadWeaver::Job *job) if (view) { view->load(url); - - // we are sure of the url now, let's add it to history - // anyway we store here just http sites because local and ftp ones are - // added trough the protocol handler and the other are ignored - if (url.protocol() == QL1S("http") || url.protocol() == QL1S("https")) - historyManager()->addHistoryEntry(url.prettyUrl()); } } |