From 7f424fda8e013ab895264156ba7b0f84a348ae6f Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Thu, 19 Aug 2010 17:43:03 +0200 Subject: Stupid me, QtWebKit calls addHistoryEntry itself when you let it load a page.. --- src/application.cpp | 6 ------ 1 file changed, 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()); } } -- cgit v1.2.1