From 591b4c3cb201c3d405f4a0a168c65bfe83325c0c Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Wed, 15 Feb 2012 16:54:55 +0100 Subject: New History Manager, NO MORE QWebHistoryInterface based. We are just saving datas on our own, I don't like QtWebKit APIs to do it. We now call addHistoryEntry(url, title) on loadFinished. Data structure will remain the same as usual, but I think API is better and data are now saved when we really have them ready. REVIEW:104257 --- src/protocolhandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/protocolhandler.cpp') diff --git a/src/protocolhandler.cpp b/src/protocolhandler.cpp index 4744e766..fb7ee936 100644 --- a/src/protocolhandler.cpp +++ b/src/protocolhandler.cpp @@ -250,7 +250,7 @@ void ProtocolHandler::showResults(const KFileItemList &list) rApp->mainWindow()->mainView()->currentUrlBar()->setQUrl(_url); rApp->mainWindow()->currentTab()->setFocus(); - rApp->historyManager()->addHistoryEntry(_url.prettyUrl()); + rApp->historyManager()->addHistoryEntry(_url, _url.prettyUrl()); } } -- cgit v1.2.1