diff options
Diffstat (limited to 'Userland/Applications/SoundPlayer/AlbumCoverVisualizationWidget.cpp')
-rw-r--r-- | Userland/Applications/SoundPlayer/AlbumCoverVisualizationWidget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Applications/SoundPlayer/AlbumCoverVisualizationWidget.cpp b/Userland/Applications/SoundPlayer/AlbumCoverVisualizationWidget.cpp index 8d3cdbb693..3eeda05ed7 100644 --- a/Userland/Applications/SoundPlayer/AlbumCoverVisualizationWidget.cpp +++ b/Userland/Applications/SoundPlayer/AlbumCoverVisualizationWidget.cpp @@ -8,7 +8,7 @@ #include "AlbumCoverVisualizationWidget.h" #include <AK/LexicalPath.h> -#include <LibCore/File.h> +#include <LibCore/DeprecatedFile.h> #include <LibGUI/Painter.h> #include <LibGfx/Rect.h> @@ -48,7 +48,7 @@ ErrorOr<NonnullRefPtr<Gfx::Bitmap>> AlbumCoverVisualizationWidget::get_album_cov static constexpr auto possible_cover_filenames = Array { "cover.png"sv, "cover.jpg"sv }; for (auto& it : possible_cover_filenames) { LexicalPath cover_path = LexicalPath::join(directory, it); - if (Core::File::exists(cover_path.string())) + if (Core::DeprecatedFile::exists(cover_path.string())) return Gfx::Bitmap::load_from_file(cover_path.string()); } |