1
Fork 0
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:
Cameron Youell 2023-05-29 19:05:30 +10:00 committed by Sam Atkins
parent 68dae8ab46
commit 6e40e8316e
6 changed files with 23 additions and 20 deletions

View file

@ -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()