summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-09-23 11:48:05 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-09-23 11:48:05 +0200
commitf7be9ea9e6f71d284495b90f8c5e9537199ed984 (patch)
tree9705d716e0060e71e69b66bc15be78aab2c3efaa /src
parentFixing a bit new actions text (too long and bad translated) (diff)
downloadrekonq-f7be9ea9e6f71d284495b90f8c5e9537199ed984.tar.xz
css homepage improvements
thanks to nferenc :)
Diffstat (limited to 'src')
-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)