fix: Clean settings values on start up
Settings will call cleanSettigs and cleanStateSettings on start up to remove any invalid or empty values in our config fixes: #9333
This commit is contained in:
parent
d6fe8fa2d5
commit
281b3b8d07
1 changed files with 2 additions and 0 deletions
|
|
@ -83,6 +83,8 @@ Settings::Settings(QObject *parent) : QObject(parent)
|
|||
|
||||
m_stateSettings = new QSettings(stateFile, QSettings::IniFormat, this);
|
||||
|
||||
cleanSettings();
|
||||
cleanStateSettings();
|
||||
setupScreenName();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue