summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-10-01 12:29:40 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-10-01 12:29:40 +0200
commita98e9b7f41ce7dc15210a8792b8c832634af5551 (patch)
treea297a6739f357c5093f7092100cc0aafa7594260 /src
parentCode fixes in the homepage (diff)
downloadrekonq-a98e9b7f41ce7dc15210a8792b8c832634af5551.tar.xz
Fixing bookmarks layout
Diffstat (limited to 'src')
-rw-r--r--src/homepage.cpp4
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;
}