diff options
author | Tim Schumacher <timschumi@gmx.de> | 2023-02-08 21:08:01 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2023-02-13 00:50:07 +0000 |
commit | d43a7eae545cd699f301471bd0f82399174339c1 (patch) | |
tree | c0a55f768f845041c3aebed3f126d462155a799f /Ladybird/Utilities.cpp | |
parent | 14951b92ca6160664ccb68c5e1b2d40133763e5f (diff) | |
download | serenity-d43a7eae545cd699f301471bd0f82399174339c1.zip |
LibCore: Rename `File` to `DeprecatedFile`
As usual, this removes many unused includes and moves used includes
further down the chain.
Diffstat (limited to 'Ladybird/Utilities.cpp')
-rw-r--r-- | Ladybird/Utilities.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Ladybird/Utilities.cpp b/Ladybird/Utilities.cpp index 7c823644c7..12a534a1a6 100644 --- a/Ladybird/Utilities.cpp +++ b/Ladybird/Utilities.cpp @@ -9,7 +9,7 @@ #include "Utilities.h" #include <AK/LexicalPath.h> #include <AK/Platform.h> -#include <LibCore/File.h> +#include <LibCore/DeprecatedFile.h> #include <QCoreApplication> DeprecatedString s_serenity_resource_root; @@ -43,7 +43,7 @@ void platform_init() auto* home = getenv("XDG_CONFIG_HOME") ?: getenv("HOME"); VERIFY(home); auto home_lagom = DeprecatedString::formatted("{}/.lagom", home); - if (Core::File::is_directory(home_lagom)) + if (Core::DeprecatedFile::is_directory(home_lagom)) return home_lagom; auto app_dir = ak_deprecated_string_from_qstring(QCoreApplication::applicationDirPath()); return LexicalPath(app_dir).parent().append("share"sv).string(); |