summaryrefslogtreecommitdiff
path: root/src/webpage.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-12-16 03:02:51 +0100
committerAndrea Diamantini <adjam7@gmail.com>2009-12-16 03:02:51 +0100
commit170d0b123f2133c3a17ee4e53f5c3e1b9c905a7c (patch)
tree57ca9a51b753fc6c36dacd66774b91242c138fcd /src/webpage.cpp
parentclean up (diff)
downloadrekonq-170d0b123f2133c3a17ee4e53f5c3e1b9c905a7c.tar.xz
notfound.html --> rekonqinfo.html
cleanups
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());