summaryrefslogtreecommitdiff
path: root/src/application.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/application.cpp')
-rw-r--r--src/application.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/application.cpp b/src/application.cpp
index b1419d00..bfa9c03f 100644
--- a/src/application.cpp
+++ b/src/application.cpp
@@ -319,6 +319,10 @@ void Application::loadUrl(const KUrl& url, const Rekonq::OpenType& type)
break;
};
+
+ // rapidly show first loading url..
+ w->mainView()->urlBar()->setQUrl(url);
+
WebView *view = tab->view();
if (view)
@@ -390,7 +394,7 @@ void Application::loadResolvedUrl(ThreadWeaver::Job *job)
void Application::newWindow()
{
loadUrl(KUrl("about:home"), Rekonq::NewWindow);
- mainWindow()->mainView()->urlBarWidget()->setFocus();
+ mainWindow()->mainView()->urlBar()->setFocus();
}