1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 06:37:35 +00:00

LibFileSystemAccessClient: Rename try_save_file =>

`try_save_file_deprecated`

This precedes the addition of a new api using `Core::Stream`
This commit is contained in:
Lucas CHOLLET 2022-12-07 23:02:03 +01:00 committed by Linus Groh
parent c71fc0683f
commit 9ae97c8cb1
12 changed files with 16 additions and 16 deletions

View file

@ -142,7 +142,7 @@ HexEditorWidget::HexEditorWidget()
});
m_save_as_action = GUI::CommonActions::make_save_as_action([&](auto&) {
auto response = FileSystemAccessClient::Client::the().try_save_file(window(), m_name, m_extension, Core::OpenMode::ReadWrite | Core::OpenMode::Truncate);
auto response = FileSystemAccessClient::Client::the().try_save_file_deprecated(window(), m_name, m_extension, Core::OpenMode::ReadWrite | Core::OpenMode::Truncate);
if (response.is_error())
return;
auto file = response.release_value();