diff options
author | Joseph W. Joshua <joejoshw@gmail.com> | 2014-06-10 18:37:37 +0300 |
---|---|---|
committer | Thiago Macieira <thiago@macieira.org> | 2014-08-13 10:48:14 -0700 |
commit | 3534e29ae2165aab491c2e0cdecd667dd8cf50e8 (patch) | |
tree | e2e1a6b99fef7d3be59f3a7ce3cfaed5ffcf4dfd /qt-ui/configuredivecomputerdialog.cpp | |
parent | 20eb62a98a70c1773ff99ece05f1c69e6ca8ce15 (diff) | |
download | subsurface-3534e29ae2165aab491c2e0cdecd667dd8cf50e8.tar.gz |
Port writing of date and time to new classes
After splitting dive computer configuration classes, the date/time
setting had not been ported. This adds the same to the classes.
Signed-off-by: Joseph W. Joshua <joejoshw@gmail.com>
Signed-off-by: Thiago Macieira <thiago@macieira.org>
Diffstat (limited to 'qt-ui/configuredivecomputerdialog.cpp')
-rw-r--r-- | qt-ui/configuredivecomputerdialog.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/configuredivecomputerdialog.cpp b/qt-ui/configuredivecomputerdialog.cpp index ea5e764dc..973243af7 100644 --- a/qt-ui/configuredivecomputerdialog.cpp +++ b/qt-ui/configuredivecomputerdialog.cpp @@ -204,6 +204,7 @@ void ConfigureDiveComputerDialog::on_saveSettingsPushButton_clicked() deviceDetails->setLanguage(ui->languageComboBox->currentIndex()); deviceDetails->setDateFormat(ui->dateFormatComboBox->currentIndex()); deviceDetails->setCustomText(ui->customTextLlineEdit->text()); + deviceDetails->setSyncTime(ui->dateTimeSyncCheckBox->isChecked()); getDeviceData(); config->saveDeviceDetails(deviceDetails, &device_data); } |