/* * Copyright (c) 2022, Filiph Sandström * * SPDX-License-Identifier: BSD-2-Clause */ #include "Settings.h" namespace Browser { Settings::Settings() { m_qsettings = new QSettings("Serenity", "Ladybird", this); } QString Settings::new_tab_page() { return m_qsettings->value("new_tab_page", "about:blank").toString(); } void Settings::set_new_tab_page(QString const& page) { m_qsettings->setValue("new_tab_page", page); } }