mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 05:27:45 +00:00
LibFileSystemAccessClient+Userland: Return file paths as ByteStrings
Where it was straightforward to do so, I've updated the users to also use ByteStrings for their file paths, but most of them have a temporary String::from_byte_string() call instead.
This commit is contained in:
parent
5a99a6afb4
commit
44ca55aaf8
23 changed files with 50 additions and 53 deletions
|
@ -110,7 +110,7 @@ ErrorOr<void> BackgroundSettingsWidget::create_frame()
|
|||
if (response.is_error())
|
||||
return;
|
||||
m_wallpaper_view->selection().clear();
|
||||
m_monitor_widget->set_wallpaper(response.release_value().filename());
|
||||
m_monitor_widget->set_wallpaper(MUST(String::from_byte_string(response.release_value().filename())));
|
||||
m_background_settings_changed = true;
|
||||
set_modified(true);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue