diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-10-01 12:29:40 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-10-01 12:29:40 +0200 |
commit | a98e9b7f41ce7dc15210a8792b8c832634af5551 (patch) | |
tree | a297a6739f357c5093f7092100cc0aafa7594260 /src | |
parent | Code fixes in the homepage (diff) | |
download | rekonq-a98e9b7f41ce7dc15210a8792b8c832634af5551.tar.xz |
Fixing bookmarks layout
Diffstat (limited to 'src')
-rw-r--r-- | src/homepage.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/homepage.cpp b/src/homepage.cpp index e728b949..9a3c8ca9 100644 --- a/src/homepage.cpp +++ b/src/homepage.cpp @@ -89,6 +89,7 @@ QString HomePage::rekonqHomePage(const KUrl &url) .arg(menu) .arg(speed) ; + return html; } @@ -244,12 +245,13 @@ QString HomePage::createBookItem(const KBookmark &bookmark) KBookmarkGroup group = bookmark.toGroup(); KBookmark bm = group.first(); result += "<h3>" + bookmark.text() + "</h3>"; - + result += "<p style=\"padding-left: 30px;\">"; while (!bm.isNull()) { result += createBookItem(bm); bm = group.next(bm); } + result += "</p>"; return result; } |