summaryrefslogtreecommitdiff
path: root/src/bookmarks/bookmarkprovider.cpp
diff options
context:
space:
mode:
authorJon Ander Peñalba <jonan88@gmail.com>2010-11-07 11:36:11 +0100
committerJon Ander Peñalba <jonan88@gmail.com>2010-11-07 11:37:11 +0100
commitf55423c33944002c16a57c05d5be520c465ed4cc (patch)
treeab71b40d5e8e3953a62116cb67adf5c5e4430365 /src/bookmarks/bookmarkprovider.cpp
parentVariable renamed (diff)
downloadrekonq-f55423c33944002c16a57c05d5be520c465ed4cc.tar.xz
Bug when a bookmark contains a '&' fixed in some cases
Diffstat (limited to 'src/bookmarks/bookmarkprovider.cpp')
-rw-r--r--src/bookmarks/bookmarkprovider.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bookmarks/bookmarkprovider.cpp b/src/bookmarks/bookmarkprovider.cpp
index 0924ae30..fe038b2a 100644
--- a/src/bookmarks/bookmarkprovider.cpp
+++ b/src/bookmarks/bookmarkprovider.cpp
@@ -239,7 +239,8 @@ void BookmarkProvider::fillBookmarkBar(BookmarkToolBar *toolBar)
else
{
KBookmarkAction *action = new KBookmarkAction(bookmark, m_owner, this);
- action->setIconText(action->iconText().replace('&', "&&"));
+ //action->s
+ //action->setIconText(action->iconText().replace('&', "&&&"));
action->setIcon(Application::iconManager()->iconForUrl( KUrl(bookmark.url()) ));
connect(action, SIGNAL(hovered()), toolBar, SLOT(actionHovered()));
toolBar->toolBar()->addAction(action);