summaryrefslogtreecommitdiff
path: root/src/homepage.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-09-24 02:01:56 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-09-24 02:01:56 +0200
commit6f43ffbc94d2e37e95bfd23f061dcf3ddf88873c (patch)
tree61cef4cc4e156bb02ca2ba874930c1abb0aa1014 /src/homepage.cpp
parentadd a border to tab previews (diff)
parentFixed not found page to let translators work on it.. (diff)
downloadrekonq-6f43ffbc94d2e37e95bfd23f061dcf3ddf88873c.tar.xz
Merge branch 'i18n'
Diffstat (limited to 'src/homepage.cpp')
-rw-r--r--src/homepage.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/homepage.cpp b/src/homepage.cpp
index 8dccc3fd..103f018c 100644
--- a/src/homepage.cpp
+++ b/src/homepage.cpp
@@ -71,12 +71,14 @@ QString HomePage::rekonqHomePage()
return QString("");
}
+ QString imagesPath = QString("file://") + KGlobal::dirs()->findResourceDir("data", "rekonq/pics/bg.png") + QString("rekonq/pics");
QString speed = speedDial();
QString search = searchEngines();
QString lastBlock = ReKonfig::showLastVisitedSites() ? fillRecentHistory() : recentlyClosedTabs() ;
QString html = QString(QLatin1String(file.readAll()))
+ .arg(imagesPath)
.arg(search)
.arg(lastBlock)
.arg(speed)