mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +00:00
Everywhere: Use LibFileSystem where trivial
This commit is contained in:
committed by
Linus Groh
parent
edab0cbf41
commit
1d24f394c6
@@ -7,8 +7,8 @@
|
||||
#include <AK/DeprecatedFlyString.h>
|
||||
#include <AK/Queue.h>
|
||||
#include <AK/QuickSort.h>
|
||||
#include <LibCore/DeprecatedFile.h>
|
||||
#include <LibCore/DirIterator.h>
|
||||
#include <LibFileSystem/FileSystem.h>
|
||||
#include <LibGfx/Font/Font.h>
|
||||
#include <LibGfx/Font/FontDatabase.h>
|
||||
#include <LibGfx/Font/OpenType/Font.h>
|
||||
@@ -135,7 +135,7 @@ void FontDatabase::load_all_fonts_from_path(DeprecatedString const& root)
|
||||
while (dir_iterator.has_next()) {
|
||||
auto path = dir_iterator.next_full_path();
|
||||
|
||||
if (Core::DeprecatedFile::is_directory(path)) {
|
||||
if (FileSystem::is_directory(path)) {
|
||||
path_queue.enqueue(path);
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user