diff options
author | David E. Narváez <david.narvaez@computer.org> | 2013-08-26 14:25:09 -0500 |
---|---|---|
committer | David E. Narváez <david.narvaez@computer.org> | 2013-08-26 14:25:09 -0500 |
commit | 9f3708cba4cfd3aaa8f1305d37702c35b590bf88 (patch) | |
tree | 1735c11ada52c993292c61b18dec49c75b0b7928 /src/webtab | |
parent | screenshot update toolbar+urlbar (diff) | |
download | rekonq-9f3708cba4cfd3aaa8f1305d37702c35b590bf88.tar.xz |
Set the Base URL of Error Pages
Otherwise, all error pages show about:blank in the URL which makes it
complicated for the user to know what page went wrong.
REVIEW: 112289
Diffstat (limited to 'src/webtab')
-rw-r--r-- | src/webtab/webpage.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/webtab/webpage.cpp b/src/webtab/webpage.cpp index 8f454759..b404013d 100644 --- a/src/webtab/webpage.cpp +++ b/src/webtab/webpage.cpp @@ -664,7 +664,7 @@ void WebPage::manageNetworkErrors(QNetworkReply *reply) kDebug() << "ERROR " << reply->error() << ": " << reply->errorString(); if (reply->url() == _loadingUrl) { - frame->setHtml(errorPage(reply)); + frame->setHtml(errorPage(reply), reply->url()); if (isMainFrameRequest) { _isOnRekonqPage = true; |