aboutsummaryrefslogtreecommitdiffstats
path: root/desktop-widgets/divelogimportdialog.cpp
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2016-12-31 09:56:08 +0200
committerGravatar Miika Turkia <miika.turkia@gmail.com>2016-12-31 09:56:08 +0200
commit876605458156190f845cc931bff756690f34b8ff (patch)
tree3ee999d3ddbd6781ee83b379a1d6db3f5162be67 /desktop-widgets/divelogimportdialog.cpp
parent25ce819a9ac62384dcb6a19704a57b35ef06a94c (diff)
downloadsubsurface-876605458156190f845cc931bff756690f34b8ff.tar.gz
Hooking up av1.xslt for log import
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Diffstat (limited to 'desktop-widgets/divelogimportdialog.cpp')
-rw-r--r--desktop-widgets/divelogimportdialog.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/desktop-widgets/divelogimportdialog.cpp b/desktop-widgets/divelogimportdialog.cpp
index c65f89982..2c87c1188 100644
--- a/desktop-widgets/divelogimportdialog.cpp
+++ b/desktop-widgets/divelogimportdialog.cpp
@@ -23,6 +23,7 @@ const DiveLogImportDialog::CSVAppConfig DiveLogImportDialog::CSVApps[CSVAPPS] =
{ "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, ";" },
{ "SubsurfaceCSV", -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, "Tab" },
+ { "AV1", 0, 1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, " " },
{ NULL, SILENCE_WARNING }
};
@@ -34,7 +35,8 @@ enum Known {
XP5,
SENSUS,
SEABEAR,
- SUBSURFACE
+ SUBSURFACE,
+ AV1
};
ColumnNameProvider::ColumnNameProvider(QObject *parent) : QAbstractListModel(parent)
@@ -348,6 +350,7 @@ DiveLogImportDialog::DiveLogImportDialog(QStringList fn, QWidget *parent) : QDia
specialCSV << SENSUS;
specialCSV << SUBSURFACE;
specialCSV << DL7;
+ specialCSV << AV1;
for (int i = 0; !CSVApps[i].name.isNull(); ++i)
ui->knownImports->addItem(CSVApps[i].name);