summaryrefslogtreecommitdiff
path: root/src/webtab
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2012-08-01 17:53:32 +0200
committerAndrea Diamantini <adjam7@gmail.com>2012-12-10 02:48:04 +0100
commit906112a363e16f774b407e8277468a74a144ccef (patch)
treefeffd06df8be1edac6a17d4143daaaf1b28c8c4a /src/webtab
parentUrlbar, first code ported to the new API (diff)
downloadrekonq-906112a363e16f774b407e8277468a74a144ccef.tar.xz
Port WebWindow to use Urlbar class. Easier testing changes...
Diffstat (limited to 'src/webtab')
-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());