summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-05-21 16:17:24 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-05-21 16:17:24 +0200
commit7e40f07c91860a6865da3688c1db53b08559a674 (patch)
treea138d47f06b9b649da4d3b54ae19c81a586c6012
parentCedric's patch (diff)
downloadrekonq-7e40f07c91860a6865da3688c1db53b08559a674.tar.xz
show url on file:// && ftp:// schemes
-rw-r--r--src/protocolhandler.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/protocolhandler.cpp b/src/protocolhandler.cpp
index 040dc822..3a9d61ef 100644
--- a/src/protocolhandler.cpp
+++ b/src/protocolhandler.cpp
@@ -229,6 +229,7 @@ void ProtocolHandler::showResults(const KFileItemList &list)
_frame->setHtml(html);
qobject_cast<WebPage *>(_frame->page())->setIsOnRekonqPage(true);
+ Application::instance()->mainWindow()->mainView()->urlBar()->setQUrl(_url);
Application::instance()->mainWindow()->currentTab()->setFocus();
Application::historyManager()->addHistoryEntry(_url.prettyUrl());
}