summaryrefslogtreecommitdiff
path: root/src/protocolhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/protocolhandler.cpp')
-rw-r--r--src/protocolhandler.cpp3
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());