1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 01:57:45 +00:00

Run: Use Core::Stream API for command history file

This commit is contained in:
Sam Atkins 2022-04-06 17:36:46 +01:00 committed by Tim Flynn
parent aee52a458b
commit 2dea636f33
2 changed files with 19 additions and 17 deletions

View file

@ -28,8 +28,8 @@ private:
bool run_via_launch(String const& run_input);
String history_file_path();
void load_history();
void save_history();
ErrorOr<void> load_history();
ErrorOr<void> save_history();
Vector<String> m_path_history;
NonnullRefPtr<GUI::ItemListModel<String>> m_path_history_model;