mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 07:30:19 +00:00
UI/Qt: Use the IniFormat for QSettings
This means that the settings will receive their own directory on all platforms
This commit is contained in:
parent
a443f50807
commit
5da1dae67e
Notes:
sideshowbarker
2024-07-18 02:44:15 +09:00
Author: https://github.com/circl-lastname Commit: https://github.com/LadybirdBrowser/ladybird/commit/5da1dae67ed Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/672
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ namespace Ladybird {
|
|||
Settings::Settings()
|
||||
: m_search_engine(WebView::default_search_engine())
|
||||
{
|
||||
m_qsettings = make<QSettings>("Ladybird", "Ladybird", this);
|
||||
m_qsettings = make<QSettings>(QSettings::IniFormat, QSettings::UserScope, "Ladybird", "Ladybird", this);
|
||||
|
||||
auto default_search_engine = WebView::default_search_engine();
|
||||
auto default_search_engine_name = qstring_from_ak_string(default_search_engine.name);
|
||||
|
|
Loading…
Reference in a new issue