aboutsummaryrefslogtreecommitdiffstats
path: root/utils/alsoft-config
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-04-29 13:07:02 -0700
committerChris Robinson <[email protected]>2019-04-29 19:47:14 -0700
commitcef7eebed663e1daf8704eceb09f05ff75609ec5 (patch)
tree38659299da22c581ea10ced9df55037a5a0a8c50 /utils/alsoft-config
parentb42694ea31b3c72348e2467c43171b31f7eef5a8 (diff)
Disable NFC by default
Diffstat (limited to 'utils/alsoft-config')
-rw-r--r--utils/alsoft-config/mainwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/alsoft-config/mainwindow.cpp b/utils/alsoft-config/mainwindow.cpp
index a83133b3..37ea3dd7 100644
--- a/utils/alsoft-config/mainwindow.cpp
+++ b/utils/alsoft-config/mainwindow.cpp
@@ -697,7 +697,7 @@ void MainWindow::loadConfig(const QString &fname)
ui->decoderHQModeCheckBox->setChecked(hqmode);
bool distcomp = settings.value("decoder/distance-comp", true).toBool();
ui->decoderDistCompCheckBox->setChecked(distcomp);
- bool nfeffects = settings.value("decoder/nfc", true).toBool();
+ bool nfeffects = settings.value("decoder/nfc", false).toBool();
ui->decoderNFEffectsCheckBox->setChecked(nfeffects);
double refdelay = settings.value("decoder/nfc-ref-delay", 0.0).toDouble();
ui->decoderNFRefDelaySpinBox->setValue(refdelay);
@@ -958,7 +958,7 @@ void MainWindow::saveConfig(const QString &fname) const
ui->decoderDistCompCheckBox->isChecked() ? QString(/*"true"*/) : QString("false")
);
settings.setValue("decoder/nfc",
- ui->decoderNFEffectsCheckBox->isChecked() ? QString(/*"true"*/) : QString("false")
+ ui->decoderNFEffectsCheckBox->isChecked() ? QString("true") : QString(/*"false"*/)
);
double refdelay = ui->decoderNFRefDelaySpinBox->value();
settings.setValue("decoder/nfc-ref-delay",