diff options
author | Miika Turkia <miika.turkia@gmail.com> | 2016-04-24 21:11:25 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-04-25 09:17:52 -0700 |
commit | d3867a09f3fce5d45baf16da1e8dabb14fa648c0 (patch) | |
tree | 071d15dab92dc4612056865f96ba56ce32f34e6c /desktop-widgets/divelogimportdialog.cpp | |
parent | 24edaf4be15aad618c77a3728158202482060459 (diff) | |
download | subsurface-d3867a09f3fce5d45baf16da1e8dabb14fa648c0.tar.gz |
DL7: parse temperature and cylinder pressure
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets/divelogimportdialog.cpp')
-rw-r--r-- | desktop-widgets/divelogimportdialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop-widgets/divelogimportdialog.cpp b/desktop-widgets/divelogimportdialog.cpp index fb2e1d65b..ecc2d24fb 100644 --- a/desktop-widgets/divelogimportdialog.cpp +++ b/desktop-widgets/divelogimportdialog.cpp @@ -17,7 +17,7 @@ const DiveLogImportDialog::CSVAppConfig DiveLogImportDialog::CSVApps[CSVAPPS] = { "Manual import", SILENCE_WARNING }, { "APD Log Viewer - DC1", 0, 1, 15, 6, 3, 4, 5, 17, -1, -1, 18, -1, 2, "Tab" }, { "APD Log Viewer - DC2", 0, 1, 15, 6, 7, 8, 9, 17, -1, -1, 18, -1, 2, "Tab" }, - { "DL7", 1, 2, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, "|" }, + { "DL7", 1, 2, -1, -1, -1, -1, -1, -1, -1, 8, -1, 10, -1, "|" }, { "XP5", 0, 1, 9, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, "Tab" }, { "SensusCSV", 9, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, "," }, { "Seabear CSV", 0, 1, 5, -1, -1, -1, -1, -1, 2, 3, 4, 6, -1, ";" }, @@ -483,7 +483,7 @@ void DiveLogImportDialog::loadFileContents(int value, whatChanged triggeredBy) units = "Imperial"; } } - firstLine = "|Sample time|Sample depth||||||||"; + firstLine = "|Sample time|Sample depth||||||Sample temperature||Sample pressure"; blockSignals(true); ui->knownImports->setCurrentText("DL7"); ui->CSVUnits->setCurrentText(units); |