diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-08-03 15:06:57 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-08-05 05:50:23 +0200 |
commit | 6c85194c3b1baef0eaa011c4f1b8e48e11860f45 (patch) | |
tree | 61f3eb4304091fd2203519702a4f4daf184c5a59 /src/plugins/FileManager.cpp | |
parent | cbc6997c0a5659239d2cd971f2fa77eeda53550b (diff) |
Make body items private, add accessor functions
This allows body to automatically update dirty state (and other states).
Correctly format newlines in codeblocks in matrix.
Diffstat (limited to 'src/plugins/FileManager.cpp')
-rw-r--r-- | src/plugins/FileManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/FileManager.cpp b/src/plugins/FileManager.cpp index f78265b..295b962 100644 --- a/src/plugins/FileManager.cpp +++ b/src/plugins/FileManager.cpp @@ -52,7 +52,7 @@ namespace QuickMedia { set_last_accessed_dir(current_dir); auto body = create_body(); - body->items = std::move(result_items); + body->set_items(std::move(result_items)); result_tabs.push_back(Tab{std::move(body), nullptr, nullptr}); return PluginResult::OK; } |