[gnote] Fix note rename
- From: Aurimas Černius <aurimasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnote] Fix note rename
- Date: Wed, 27 Jul 2022 18:30:12 +0000 (UTC)
commit f0b7233a7045851251f6dcb5eaa295d0baf519be
Author: Aurimas Černius <aurisc4 gmail com>
Date: Wed Jul 27 21:29:38 2022 +0300
Fix note rename
src/watchers.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/watchers.cpp b/src/watchers.cpp
index 8b23faed..7e4c39c5 100644
--- a/src/watchers.cpp
+++ b/src/watchers.cpp
@@ -881,7 +881,7 @@ namespace gnote {
break;
auto title_len = find_title_lower.length();
- TrieHit<NoteBase::WeakPtr> hit(idx, idx + title_len, std::move(find_title_lower), find_note);
+ TrieHit<NoteBase::WeakPtr> hit(idx, idx + title_len, Glib::ustring(find_title_lower), find_note);
do_highlight(note_manager, note, hit, start, end);
idx += title_len;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]