diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-12-16 02:56:56 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-12-16 02:56:56 +0100 |
commit | 2f2153fa74998881c0df2e7e546b0a88ebe02693 (patch) | |
tree | 31811c4aadbe743d34e56529af56ff9ed800984f /src/protocolhandler.cpp | |
parent | local files krun! (diff) | |
download | rekonq-2f2153fa74998881c0df2e7e546b0a88ebe02693.tar.xz |
set urlbar
Diffstat (limited to 'src/protocolhandler.cpp')
-rw-r--r-- | src/protocolhandler.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/protocolhandler.cpp b/src/protocolhandler.cpp index 26766377..1d0981dc 100644 --- a/src/protocolhandler.cpp +++ b/src/protocolhandler.cpp @@ -29,6 +29,9 @@ // Local Includes #include "newtabpage.h" #include "application.h" +#include "mainwindow.h" +#include "mainview.h" +#include "urlbar.h" // KDE Includes #include <klocalizedstring.h> @@ -108,7 +111,8 @@ bool ProtocolHandler::handle(const QNetworkRequest &request, QWebFrame *frame) else // dir { QString html = dirHandling(url); - frame->setHtml( html ); + frame->setHtml(html); + Application::instance()->mainWindow()->mainView()->urlBar()->setUrl(url); } // KUrl::List list; // list.append(url); |