Commit 26f9a6c7 authored by CABEL Tristan's avatar CABEL Tristan

settings in ini format per default

parent 3eb22f94
......@@ -60,6 +60,7 @@ void dtkApplicationPrivate::initialize(void)
qputenv("LC_ALL", "C");
QLocale::setDefault(QLocale::c());
QSettings::setDefaultFormat(QSettings::IniFormat);
#if defined (Q_OS_UNIX) && !defined(Q_OS_MAC)
setlocale(LC_NUMERIC, "C");
......@@ -94,7 +95,7 @@ void dtkApplicationPrivate::initialize(void)
if (this->parser->isSet(settingsOption))
this->settings = new QSettings(this->parser->value(settingsOption), QSettings::IniFormat);
else
this->settings = new QSettings(this->app->organizationName(), this->app->applicationName());
this->settings = new QSettings();
if (settings->contains("log_level")) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment