diff options
-rw-r--r-- | src/webpage.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/webpage.cpp b/src/webpage.cpp index 4a8c8b6b..c6e9c06b 100644 --- a/src/webpage.cpp +++ b/src/webpage.cpp @@ -537,6 +537,8 @@ void WebPage::manageNetworkErrors(QNetworkReply *reply) { mainFrame()->setHtml(errorPage(reply)); _isOnRekonqPage = true; + Application::instance()->mainWindow()->mainView()->urlBar()->setQUrl(_loadingUrl); + Application::instance()->mainWindow()->updateActions(); } break; @@ -560,7 +562,7 @@ QString WebPage::errorPage(QNetworkReply *reply) return QString("Couldn't open the rekonqinfo.html file"); } - QString title = i18n("Error loading: %1", reply->url().path()); + QString title = i18n("Error loading: %1", reply->url().toString()); QString urlString = reply->url().toString(QUrl::RemoveUserInfo | QUrl::RemoveQuery); QString iconPath = QString("file://") + KIconLoader::global()->iconPath("dialog-warning" , KIconLoader::Small); |