From 906112a363e16f774b407e8277468a74a144ccef Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Wed, 1 Aug 2012 17:53:32 +0200 Subject: Port WebWindow to use Urlbar class. Easier testing changes... --- src/webtab/protocolhandler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/webtab') 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 // 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(_frame->page())->setIsOnRekonqPage(true); - _webwin->urlBar()->setUrl(_url); + _webwin->urlBar()->setQUrl(_url); _webwin->view()->setFocus(); HistoryManager::self()->addHistoryEntry(_url, _url.prettyUrl()); -- cgit v1.2.1