diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-10-23 12:48:13 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-10-23 12:48:13 +0200 |
commit | 255e7e5664df0a54100b0157e389df4883a80c85 (patch) | |
tree | ddc31d645102415dc5dd5d428f8131d921002e2c /src/homepage.cpp | |
parent | rekonq 0.2.71 (diff) | |
download | rekonq-255e7e5664df0a54100b0157e389df4883a80c85.tar.xz |
Krazy fixes for 0.2.71
Diffstat (limited to 'src/homepage.cpp')
-rw-r--r-- | src/homepage.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/homepage.cpp b/src/homepage.cpp index 965bb749..27d613ce 100644 --- a/src/homepage.cpp +++ b/src/homepage.cpp @@ -112,7 +112,7 @@ QString HomePage::fillFavorites() QStringList names = ReKonfig::previewNames(); QStringList urls = ReKonfig::previewUrls(); - QString speed="<div class=\"favorites\">"; + QString speed = "<div class=\"favorites\">"; for(int i=0; i<8; ++i) { speed += "<div class=\"thumbnail\">"; @@ -151,7 +151,7 @@ QString HomePage::lastVisitedSites() QString HomePage::homePageMenu(KUrl currentUrl) { - QString menu = ""; + QString menu; KIconLoader *loader = KIconLoader::global(); @@ -245,7 +245,7 @@ QString HomePage::createBookItem(const KBookmark &bookmark) { if (bookmark.isGroup()) { - QString result = QString(""); + QString result; KBookmarkGroup group = bookmark.toGroup(); KBookmark bm = group.first(); result += "<h3>" + bookmark.text() + "</h3>"; @@ -264,8 +264,7 @@ QString HomePage::createBookItem(const KBookmark &bookmark) return QString("<hr />"); } - QString books = " "; - books += "<a href=\"" + bookmark.url().prettyUrl() + "\">" + bookmark.text() + "</a><br />"; + QString books = "<a href=\"" + bookmark.url().prettyUrl() + "\">" + bookmark.text() + "</a><br />"; return books; } |