From e9e94ec1c9b7ca214d6a7e04ed0c28c363b77957 Mon Sep 17 00:00:00 2001 From: Yoann Laissus Date: Tue, 10 Aug 2010 15:07:56 +0200 Subject: - Fix bookmarks' text which is truncated in some places (new tab page, some dialogues, ...) - Fix bookmark icons with the bookmark panel BUG: 247196 --- src/newtabpage.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/newtabpage.cpp') diff --git a/src/newtabpage.cpp b/src/newtabpage.cpp index bbf6714e..62b97d4d 100644 --- a/src/newtabpage.cpp +++ b/src/newtabpage.cpp @@ -472,7 +472,7 @@ void NewTabPage::createBookItem(const KBookmark &bookmark, QWebElement parent) KBookmarkGroup group = bookmark.toGroup(); KBookmark bm = group.first(); parent.appendInside(markup("h3")); - parent.lastChild().setPlainText(group.text()); + parent.lastChild().setPlainText(group.fullText()); parent.appendInside(markup(".bookfolder")); while (!bm.isNull()) { @@ -488,7 +488,7 @@ void NewTabPage::createBookItem(const KBookmark &bookmark, QWebElement parent) { parent.appendInside(markup("a")); parent.lastChild().setAttribute("href" , bookmark.url().prettyUrl()); - parent.lastChild().setPlainText(bookmark.text()); + parent.lastChild().setPlainText(bookmark.fullText()); parent.appendInside("
"); } } -- cgit v1.2.1