summaryrefslogtreecommitdiff
path: root/src/protocolhandler.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2012-02-15 16:54:55 +0100
committerAndrea Diamantini <adjam7@gmail.com>2012-03-18 06:44:33 +0100
commit591b4c3cb201c3d405f4a0a168c65bfe83325c0c (patch)
tree42027d42ceda96ead0711388e23908e1dd7c8d36 /src/protocolhandler.cpp
parentfixuifiles (diff)
downloadrekonq-591b4c3cb201c3d405f4a0a168c65bfe83325c0c.tar.xz
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
Diffstat (limited to 'src/protocolhandler.cpp')
-rw-r--r--src/protocolhandler.cpp2
1 files changed, 1 insertions, 1 deletions
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());
}
}