diff options
author | Jonathan Thomas <echidnaman@kubuntu.org> | 2010-05-27 10:45:57 -0400 |
---|---|---|
committer | Jonathan Thomas <echidnaman@kubuntu.org> | 2010-05-27 10:45:57 -0400 |
commit | 11e76d89f7b8305d120b5dfbddc0029c96147216 (patch) | |
tree | 6e7e6c32efb2e65ad00dc4f15381769165c13e11 /src | |
parent | Encapsulate single characters in single quotes, since passing a char to QStri... (diff) | |
download | rekonq-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.cpp | 2 |
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('&', "&&")); |