diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-12-16 02:26:19 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-12-16 02:26:19 +0100 |
commit | 5403b3eeb3309bdfebb9ced2cf091ce885065f88 (patch) | |
tree | 50d278515688c36bea37e49509a519e5a86810a5 /src/webpage.cpp | |
parent | File protocol handling! Yeah! (diff) | |
download | rekonq-5403b3eeb3309bdfebb9ced2cf091ce885065f88.tar.xz |
local files krun!
Diffstat (limited to 'src/webpage.cpp')
-rw-r--r-- | src/webpage.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/webpage.cpp b/src/webpage.cpp index accf0e44..1890e74c 100644 --- a/src/webpage.cpp +++ b/src/webpage.cpp @@ -224,7 +224,6 @@ QString WebPage::errorPage(QNetworkReply *reply) } QString title = i18n("Error loading: %1", reply->url().path()); - QString imagesPath = QString("file://") + KGlobal::dirs()->findResourceDir("data", "rekonq/pics/bg.png") + QString("rekonq/pics"); QString msg = "<h1>" + reply->errorString() + "</h1>"; QString urlString = reply->url().toString( QUrl::RemoveUserInfo | QUrl::RemoveQuery ); @@ -239,7 +238,6 @@ QString WebPage::errorPage(QNetworkReply *reply) QString html = QString(QLatin1String(file.readAll())) .arg(title) - .arg(imagesPath) .arg(msg) ; return html; |