mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:57:44 +00:00
LibFileSystemAccessClient: Rename try_* functions to try_*_deprecated
These functions return the deprecated `Core::File` class, so let's mark it as such to avoid possible confusion between future non try_* functions which will use Core::Stream family classes and to possibly grab someone's attention. :^)
This commit is contained in:
parent
e361025cfb
commit
247db3fdd0
22 changed files with 38 additions and 38 deletions
|
@ -30,7 +30,7 @@ ErrorOr<void> PresenterWidget::initialize_menubar()
|
|||
// Set up the menu bar.
|
||||
auto& file_menu = window->add_menu("&File");
|
||||
auto open_action = GUI::CommonActions::make_open_action([this](auto&) {
|
||||
auto response = FileSystemAccessClient::Client::the().try_open_file(this->window());
|
||||
auto response = FileSystemAccessClient::Client::the().try_open_file_deprecated(this->window());
|
||||
if (response.is_error())
|
||||
return;
|
||||
this->set_file(response.value()->filename());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue