Fix calibration bug + improve device shutdown

This commit is contained in:
Jan Käberich 2022-10-31 15:09:19 +01:00
parent 39a91034d9
commit 69f7c878b9
5 changed files with 18 additions and 14 deletions

View file

@ -502,10 +502,10 @@ void Preferences::load()
for(auto d : descr) {
try {
d.var.setValue(settings.value(d.name, d.def));
qDebug() << "Setting" << d.name << "is set to" << d.var.value();
// qDebug() << "Setting" << d.name << "is set to" << d.var.value();
} catch (const exception& e){
d.var.setValue(d.def);
qDebug() << "Setting" << d.name << "reset to default:" << d.def;
// qDebug() << "Setting" << d.name << "reset to default:" << d.def;
}
}
nonTrivialParsing();