From 8255a1a5ee609d9858c3f3fbd4c3cef270d923e6 Mon Sep 17 00:00:00 2001 From: Timothy Flynn Date: Thu, 14 Dec 2023 12:24:58 -0500 Subject: [PATCH] Ladybird/Qt: Enable SQLServer for cookie storage by default It was disabled by default for issues that have since been fixed. Primarily: 14091f32c685ada674e9b2b7247607bc1e9022d9 --- Ladybird/Qt/main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Ladybird/Qt/main.cpp b/Ladybird/Qt/main.cpp index b7eba0d95f..0e93ebcbac 100644 --- a/Ladybird/Qt/main.cpp +++ b/Ladybird/Qt/main.cpp @@ -106,7 +106,7 @@ ErrorOr serenity_main(Main::Arguments arguments) Vector raw_urls; StringView webdriver_content_ipc_path; bool enable_callgrind_profiling = false; - bool enable_sql_database = false; + bool disable_sql_database = false; bool enable_qt_networking = false; bool use_gpu_painting = false; @@ -115,14 +115,14 @@ ErrorOr serenity_main(Main::Arguments arguments) args_parser.add_positional_argument(raw_urls, "URLs to open", "url", Core::ArgsParser::Required::No); args_parser.add_option(webdriver_content_ipc_path, "Path to WebDriver IPC for WebContent", "webdriver-content-path", 0, "path", Core::ArgsParser::OptionHideMode::CommandLineAndMarkdown); args_parser.add_option(enable_callgrind_profiling, "Enable Callgrind profiling", "enable-callgrind-profiling", 'P'); - args_parser.add_option(enable_sql_database, "Enable SQL database", "enable-sql-database", 0); + args_parser.add_option(disable_sql_database, "Disable SQL database", "disable-sql-database", 0); args_parser.add_option(enable_qt_networking, "Enable Qt as the backend networking service", "enable-qt-networking", 0); args_parser.add_option(use_gpu_painting, "Enable GPU painting", "enable-gpu-painting", 0); args_parser.parse(arguments); RefPtr database; - if (enable_sql_database) { + if (!disable_sql_database) { auto sql_server_paths = TRY(get_paths_for_helper_process("SQLServer"sv)); database = TRY(WebView::Database::create(move(sql_server_paths))); }