diff options
author | Tim Schumacher <timschumi@gmx.de> | 2023-02-09 03:02:46 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2023-02-13 00:50:07 +0000 |
commit | 606a3982f34d777f121fcc4aa964141199676c20 (patch) | |
tree | 836fef41d11f1b77f4dac7d699e5c9f720ee4ff1 /Userland/Applications/DisplaySettings/ThemePreviewWidget.cpp | |
parent | a96339b72b3b417ffaa4fbb4e7575149f749acaa (diff) | |
download | serenity-606a3982f34d777f121fcc4aa964141199676c20.zip |
LibCore: Move Stream-based file into the `Core` namespace
Diffstat (limited to 'Userland/Applications/DisplaySettings/ThemePreviewWidget.cpp')
-rw-r--r-- | Userland/Applications/DisplaySettings/ThemePreviewWidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/DisplaySettings/ThemePreviewWidget.cpp b/Userland/Applications/DisplaySettings/ThemePreviewWidget.cpp index 35abe94a03..7969cd7554 100644 --- a/Userland/Applications/DisplaySettings/ThemePreviewWidget.cpp +++ b/Userland/Applications/DisplaySettings/ThemePreviewWidget.cpp @@ -20,7 +20,7 @@ ThemePreviewWidget::ThemePreviewWidget(Gfx::Palette const& palette) ErrorOr<void> ThemePreviewWidget::set_theme(DeprecatedString path) { - auto config_file = TRY(Core::Stream::File::open(path, Core::Stream::OpenMode::Read)); + auto config_file = TRY(Core::File::open(path, Core::File::OpenMode::Read)); TRY(set_theme_from_file(path, move(config_file))); return {}; } |