From 9f3708cba4cfd3aaa8f1305d37702c35b590bf88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20E=2E=20Narv=C3=A1ez?= Date: Mon, 26 Aug 2013 14:25:09 -0500 Subject: 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 --- src/webtab/webpage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.1