summaryrefslogtreecommitdiff
path: root/src/webpage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/webpage.cpp')
-rw-r--r--src/webpage.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/webpage.cpp b/src/webpage.cpp
index 1890e74c..1bc8c1c1 100644
--- a/src/webpage.cpp
+++ b/src/webpage.cpp
@@ -213,14 +213,13 @@ void WebPage::manageNetworkErrors(QNetworkReply* reply)
QString WebPage::errorPage(QNetworkReply *reply)
{
// display "not found" page
- QString notfoundFilePath = KStandardDirs::locate("data", "rekonq/htmls/notfound.html");
+ QString notfoundFilePath = KStandardDirs::locate("data", "rekonq/htmls/rekonqinfo.html");
QFile file(notfoundFilePath);
bool isOpened = file.open(QIODevice::ReadOnly);
if (!isOpened)
{
- kWarning() << "Couldn't open the notfound.html file";
- return QString("");
+ return QString("Couldn't open the rekonqinfo.html file");
}
QString title = i18n("Error loading: %1", reply->url().path());