1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 09:27:35 +00:00

Ladybird+BrowserSettings: Load the NTP/home resource files with LibWeb

This commit is contained in:
Timothy Flynn 2023-12-23 15:47:58 -05:00 committed by Andreas Kling
parent 947136ca8d
commit bacf3cede4
7 changed files with 12 additions and 34 deletions

View file

@ -57,7 +57,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
auto database = TRY(WebView::Database::create(move(sql_server_paths)));
auto cookie_jar = TRY(WebView::CookieJar::create(*database));
URL new_tab_page_url = Browser::default_new_tab_url();
URL new_tab_page_url = Browser::default_new_tab_url;
Vector<URL> initial_urls;
for (auto const& raw_url : raw_urls) {

View file

@ -82,7 +82,7 @@ void Settings::set_autocomplete_engine(EngineProvider const& engine_provider)
QString Settings::new_tab_page()
{
static auto const default_new_tab_url = qstring_from_ak_string(Browser::default_new_tab_url());
static auto const default_new_tab_url = qstring_from_ak_string(Browser::default_new_tab_url);
return m_qsettings->value("new_tab_page", default_new_tab_url).toString();
}