summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJonathan Thomas <echidnaman@kubuntu.org>2010-05-27 10:45:57 -0400
committerJonathan Thomas <echidnaman@kubuntu.org>2010-05-27 10:45:57 -0400
commit11e76d89f7b8305d120b5dfbddc0029c96147216 (patch)
tree6e7e6c32efb2e65ad00dc4f15381769165c13e11 /src
parentEncapsulate single characters in single quotes, since passing a char to QStri... (diff)
downloadrekonq-11e76d89f7b8305d120b5dfbddc0029c96147216.tar.xz
The second arg of QString::replace has to be a QString, I suppose
Diffstat (limited to 'src')
-rw-r--r--src/bookmarks/bookmarkcontextmenu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bookmarks/bookmarkcontextmenu.cpp b/src/bookmarks/bookmarkcontextmenu.cpp
index 78d64aa5..4422763a 100644
--- a/src/bookmarks/bookmarkcontextmenu.cpp
+++ b/src/bookmarks/bookmarkcontextmenu.cpp
@@ -234,7 +234,7 @@ void BookmarkContextMenu::deleteBookmark()
void BookmarkContextMenu::editBookmark()
{
KBookmark selected = bookmark();
- selected.setFullText(selected.text().replace("&&", '&'));
+ selected.setFullText(selected.text().replace("&&", "&"));
KBookmarkDialog *dialog = owner()->bookmarkDialog(manager(), QApplication::activeWindow());
dialog->editBookmark(selected);
selected.setFullText(selected.text().replace('&', "&&"));