summaryrefslogtreecommitdiff
path: root/src/bookmarks/bookmarkspanel.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-08-11 00:17:29 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-08-11 00:17:29 +0200
commit950f88fc0d4fea8702167b1b1ae4bc387b8d0821 (patch)
tree510ea5867589da5414367afa9e687354a0977c3a /src/bookmarks/bookmarkspanel.cpp
parentMerge commit 'refs/merge-requests/160' of git://gitorious.org/rekonq/mainline... (diff)
parent- Fix bookmarks' text which is truncated in some places (new tab page, some d... (diff)
downloadrekonq-950f88fc0d4fea8702167b1b1ae4bc387b8d0821.tar.xz
Merge commit 'refs/merge-requests/161' of git://gitorious.org/rekonq/mainline into m161
Diffstat (limited to 'src/bookmarks/bookmarkspanel.cpp')
-rw-r--r--src/bookmarks/bookmarkspanel.cpp5
1 files changed, 3 insertions, 2 deletions
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(),