- the light theme is now automatically written sot the settings file to prevent having to switch the dark mode on and off two times at the first time

This commit is contained in:
Dorian Zedler 2019-03-13 20:11:31 +01:00
parent 721da8c178
commit 321a8ea1f1

View file

@ -38,6 +38,9 @@ AppSettings::AppSettings(QObject* parent)
if(loadSetting("grade") == "false"){
this->writeSetting("grade", 5);
}
if(loadSetting("theme") == "false"){
this->writeSetting("theme", "Light");
}
this->filtersFile = new QFile(path + "/fannyapp/filters.json");
}