diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-06-01 17:06:49 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-06-01 17:06:49 +0200 |
commit | a9987de97f6d1904497316c4b93a0e56ee675c83 (patch) | |
tree | e6bb18de474d3367165c6a4477f484d104aa8c89 /src/webpage.cpp | |
parent | Reload page on changed encodings (diff) | |
download | rekonq-a9987de97f6d1904497316c4b93a0e56ee675c83.tar.xz |
Fix error reporting
BUG:239040
Diffstat (limited to 'src/webpage.cpp')
-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); |