mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:17:45 +00:00
LibCore: Rename File
to DeprecatedFile
As usual, this removes many unused includes and moves used includes further down the chain.
This commit is contained in:
parent
14951b92ca
commit
d43a7eae54
193 changed files with 536 additions and 556 deletions
|
@ -8,7 +8,7 @@
|
|||
#include <AK/JsonArray.h>
|
||||
#include <AK/JsonObject.h>
|
||||
#include <AK/Vector.h>
|
||||
#include <LibCore/File.h>
|
||||
#include <LibCore/DeprecatedFile.h>
|
||||
#include <LibCore/StandardPaths.h>
|
||||
#include <LibCore/Stream.h>
|
||||
#include <LibGUI/CommonLocationsProvider.h>
|
||||
|
@ -25,7 +25,7 @@ static void initialize_if_needed()
|
|||
return;
|
||||
|
||||
auto user_config = DeprecatedString::formatted("{}/CommonLocations.json", Core::StandardPaths::config_directory());
|
||||
if (Core::File::exists(user_config)) {
|
||||
if (Core::DeprecatedFile::exists(user_config)) {
|
||||
auto maybe_error = CommonLocationsProvider::load_from_json(user_config);
|
||||
if (!maybe_error.is_error())
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue