summaryrefslogtreecommitdiff
path: root/src/bookmarks/bookmarksmanager.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-05-25 00:29:17 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-05-25 00:29:17 +0200
commit5dcce5ee7698ad2749186306627583e109e0f235 (patch)
tree1e1a4fb5a48f031c3099b817079b0b4b85bc4108 /src/bookmarks/bookmarksmanager.cpp
parentThis commit fixes my problems with this new handling. (diff)
downloadrekonq-5dcce5ee7698ad2749186306627583e109e0f235.tar.xz
Properly take care of ampersands
Ronny Scholz patch. Thanks ;)
Diffstat (limited to 'src/bookmarks/bookmarksmanager.cpp')
-rw-r--r--src/bookmarks/bookmarksmanager.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bookmarks/bookmarksmanager.cpp b/src/bookmarks/bookmarksmanager.cpp
index 03146ea2..605b9630 100644
--- a/src/bookmarks/bookmarksmanager.cpp
+++ b/src/bookmarks/bookmarksmanager.cpp
@@ -409,7 +409,9 @@ void BookmarkProvider::fillBookmarkBar(KToolBar *toolBar)
else
{
- toolBar->addAction(new KBookmarkAction(bookmark, m_owner, this));
+ KBookmarkAction* a = new KBookmarkAction(bookmark, m_owner, this);
+ a->setIconText(a->iconText().replace("&", "&&"));
+ toolBar->addAction(a);
}
}
}