diff options
Diffstat (limited to 'Userland/DevTools/SQLStudio/MainWidget.cpp')
-rw-r--r-- | Userland/DevTools/SQLStudio/MainWidget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/DevTools/SQLStudio/MainWidget.cpp b/Userland/DevTools/SQLStudio/MainWidget.cpp index c87992e3a6..78a2c3250f 100644 --- a/Userland/DevTools/SQLStudio/MainWidget.cpp +++ b/Userland/DevTools/SQLStudio/MainWidget.cpp @@ -6,10 +6,10 @@ */ #include <DevTools/SQLStudio/SQLStudioGML.h> -#include <LibCore/DeprecatedFile.h> #include <LibCore/DirIterator.h> #include <LibCore/StandardPaths.h> #include <LibDesktop/Launcher.h> +#include <LibFileSystem/FileSystem.h> #include <LibGUI/Action.h> #include <LibGUI/Application.h> #include <LibGUI/BoxLayout.h> @@ -45,7 +45,7 @@ static Vector<DeprecatedString> lookup_database_names() static constexpr auto database_extension = ".db"sv; auto database_path = DeprecatedString::formatted("{}/sql", Core::StandardPaths::data_directory()); - if (!Core::DeprecatedFile::exists(database_path)) + if (!FileSystem::exists(database_path)) return {}; Core::DirIterator iterator(move(database_path), Core::DirIterator::SkipParentAndBaseDir); |