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/bookmarks/bookmarkspanel.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/bookmarks/bookmarkspanel.cpp') diff --git a/src/bookmarks/bookmarkspanel.cpp b/src/bookmarks/bookmarkspanel.cpp index 5e11601a..75d8faf3 100644 --- a/src/bookmarks/bookmarkspanel.cpp +++ b/src/bookmarks/bookmarkspanel.cpp @@ -220,11 +220,12 @@ void BookmarksPanel::deleteBookmark() KBookmark bm = bookmarkForIndex(index); KBookmarkGroup bmg = bm.parentGroup(); bool folder = bm.isGroup(); + QString name = QString(bm.fullText()).replace("&&", "&"); if (KMessageBox::warningContinueCancel( QApplication::activeWindow(), - folder ? i18n("Are you sure you wish to remove the bookmark folder\n\"%1\"?", bm.text()) - : i18n("Are you sure you wish to remove the bookmark\n\"%1\"?", bm.text()), + folder ? i18n("Are you sure you wish to remove the bookmark folder\n\"%1\"?", name) + : i18n("Are you sure you wish to remove the bookmark\n\"%1\"?", name), folder ? i18n("Bookmark Folder Deletion") : i18n("Bookmark Deletion"), KStandardGuiItem::del(), -- cgit v1.2.1