diff options
| author | tony mancill <tmancill@debian.org> | 2024-01-01 11:39:50 -0800 |
|---|---|---|
| committer | tony mancill <tmancill@debian.org> | 2024-01-01 11:39:50 -0800 |
| commit | ffea9660ba79a513401639a2f5d90e2fdc190fb8 (patch) | |
| tree | 4e1abd6eca581d5baec48b86e213ae31138bcf5e /qmap/mainwindow.cpp | |
| parent | 393a486ee1d7e308a49f8e0b8c3a4b2f43223248 (diff) | |
New upstream version 2.7.0~rc3+repackupstream/2.7.0_rc3+repack
Diffstat (limited to 'qmap/mainwindow.cpp')
| -rwxr-xr-x | qmap/mainwindow.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/qmap/mainwindow.cpp b/qmap/mainwindow.cpp index e1b30207..4f33db6c 100755 --- a/qmap/mainwindow.cpp +++ b/qmap/mainwindow.cpp @@ -247,6 +247,7 @@ void MainWindow::writeSettings() settings.setValue("PhaseX",(double)m_phasex);
settings.setValue("PhaseY",(double)m_phasey);
settings.setValue("MaxDrift",ui->sbMaxDrift->value());
+ settings.setValue("Offset",ui->sbOffset->value());
}
//---------------------------------------------------------- readSettings()
@@ -297,6 +298,7 @@ void MainWindow::readSettings() m_NB=settings.value("NB",false).toBool();
ui->NBcheckBox->setChecked(m_NB);
ui->sbMaxDrift->setValue(settings.value("MaxDrift",0).toInt());
+ ui->sbOffset->setValue(settings.value("Offset",1500).toInt());
m_NBslider=settings.value("NBslider",40).toInt();
ui->NBslider->setValue(m_NBslider);
m_gainx=settings.value("GainX",1.0).toFloat();
@@ -857,6 +859,7 @@ void MainWindow::decode() //decode() datcom_.nmode=10*m_modeQ65;
datcom_.nsave=m_nsave;
datcom_.max_drift=ui->sbMaxDrift->value();
+ datcom_.offset=ui->sbOffset->value();
datcom_.ndepth=1;
if(datcom_.nagain==1) datcom_.ndepth=3;
|
