Only save settings that has been changed

This commit is contained in:
Jonas Kvinge
2020-05-25 23:56:54 +02:00
parent 0489b312a3
commit 5f1002894e
39 changed files with 327 additions and 28 deletions

View File

@@ -60,6 +60,8 @@ void TranscoderOptionsSpeex::Load() {
ui_->complexity->setValue(s.value("complexity", 3).toInt());
ui_->nframes->setValue(s.value("nframes", 1).toInt());
s.endGroup();
}
void TranscoderOptionsSpeex::Save() {
@@ -77,4 +79,6 @@ void TranscoderOptionsSpeex::Save() {
s.setValue("complexity", ui_->complexity->value());
s.setValue("nframes", ui_->nframes->value());
s.endGroup();
}