summaryrefslogtreecommitdiff
path: root/src/webtab/protocolhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/webtab/protocolhandler.cpp')
-rw-r--r--src/webtab/protocolhandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/webtab/protocolhandler.cpp b/src/webtab/protocolhandler.cpp
index 0a21fc4c..bca5a007 100644
--- a/src/webtab/protocolhandler.cpp
+++ b/src/webtab/protocolhandler.cpp
@@ -35,7 +35,7 @@
#include "webwindow.h"
#include "webpage.h"
#include "webtab.h"
-#include <KLineEdit> // this has to be substituted with #include "urlbar.h"
+#include "urlbar.h"
// #include "newtabpage.h"
// KDE Includes
@@ -274,7 +274,7 @@ void ProtocolHandler::showResults(const KFileItemList &list)
_frame->setHtml(html);
qobject_cast<WebPage *>(_frame->page())->setIsOnRekonqPage(true);
- _webwin->urlBar()->setUrl(_url);
+ _webwin->urlBar()->setQUrl(_url);
_webwin->view()->setFocus();
HistoryManager::self()->addHistoryEntry(_url, _url.prettyUrl());