diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-05-19 00:34:41 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-05-19 00:34:41 +0200 |
commit | 4338a19c4b1feb3136a4a61c22c495c036f5b5cf (patch) | |
tree | b510b058b736f8291ef4cc5cdc511350b063a36e /src/protocolhandler.cpp | |
parent | Merge branch 'master' of gitorious.org:rekonq/mainline (diff) | |
download | rekonq-4338a19c4b1feb3136a4a61c22c495c036f5b5cf.tar.xz |
This patch is based on Cedric's idea about fixing history with error pages
and use it to fix back/forward buttons also on kparts and so on
:)
Diffstat (limited to 'src/protocolhandler.cpp')
-rw-r--r-- | src/protocolhandler.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/protocolhandler.cpp b/src/protocolhandler.cpp index 4a25ccd7..040dc822 100644 --- a/src/protocolhandler.cpp +++ b/src/protocolhandler.cpp @@ -226,7 +226,8 @@ void ProtocolHandler::showResults(const KFileItemList &list) else { QString html = dirHandling(list); - _frame->setHtml(html, _url); + _frame->setHtml(html); + qobject_cast<WebPage *>(_frame->page())->setIsOnRekonqPage(true); Application::instance()->mainWindow()->currentTab()->setFocus(); Application::historyManager()->addHistoryEntry(_url.prettyUrl()); |