mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:28:10 +00:00
Ladybird: Convert Browser::Settings
to a singleton
This commit is contained in:
parent
68dae8ab46
commit
6e40e8316e
6 changed files with 23 additions and 20 deletions
|
@ -30,7 +30,7 @@ static QString rebase_default_url_on_serenity_resource_root(StringView default_u
|
|||
|
||||
Settings::Settings()
|
||||
{
|
||||
m_qsettings = new QSettings("Serenity", "Ladybird", this);
|
||||
m_qsettings = make<QSettings>("Serenity", "Ladybird", this);
|
||||
}
|
||||
|
||||
Optional<QPoint> Settings::last_position()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue