diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2013-06-19 13:09:33 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2013-06-19 13:09:33 +0200 |
commit | 7fd44b92554588240a5dd953ce1734891b147271 (patch) | |
tree | b662043a83c44a9207e5f022dd5d83382dd22a22 /src/webtab/webpage.cpp | |
parent | Speed up construction of the history page (diff) | |
download | rekonq-7fd44b92554588240a5dd953ce1734891b147271.tar.xz |
Let fixed behavior when site is NOT loaded
work also when you don't have connection from the beginning.
CCBUG:319924
CCBUG:312928
Diffstat (limited to 'src/webtab/webpage.cpp')
-rw-r--r-- | src/webtab/webpage.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/webtab/webpage.cpp b/src/webtab/webpage.cpp index 3e580dbe..6c36b5df 100644 --- a/src/webtab/webpage.cpp +++ b/src/webtab/webpage.cpp @@ -321,6 +321,11 @@ bool WebPage::acceptNavigationRequest(QWebFrame *frame, const QNetworkRequest &r } } + // Set Page URL: This is needed for 2 reasons. + // 1) WebKit is slot setting url in some case. Having an initial URL set seems snappier ;) + // 2) When WebKit cannot set URL (eg: network down), urlbar URL is NOT set + emit initialUrl(_loadingUrl); + return KWebPage::acceptNavigationRequest(frame, request, type); } |