summaryrefslogtreecommitdiffstats
path: root/qt-ui/divelogimportdialog.h
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2014-01-16 22:50:16 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-01-17 05:57:45 +0700
commite9f3d652e8b060419778d5578c1ad019d65c5879 (patch)
tree235aa018e25b8d45a05d57552fef8393504accd7 /qt-ui/divelogimportdialog.h
parent2167088f1c9b7e0b9dcda085bf83c27f1257e37a (diff)
downloadsubsurface-e9f3d652e8b060419778d5578c1ad019d65c5879.tar.gz
Treat Sensus CSV import specially on GUI
As Sensus import needs a specific XSLT and user specified parameters are not used nor needed, tune the GUI accordingly (disable options and add Sensus in the list of known imports). Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/divelogimportdialog.h')
-rw-r--r--qt-ui/divelogimportdialog.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/qt-ui/divelogimportdialog.h b/qt-ui/divelogimportdialog.h
index 7c3779095..070a1f515 100644
--- a/qt-ui/divelogimportdialog.h
+++ b/qt-ui/divelogimportdialog.h
@@ -27,6 +27,7 @@ private:
bool selector;
QStringList fileNames;
Ui::DiveLogImportDialog *ui;
+ QList<int> specialCSV;
struct CSVAppConfig {
QString name;
@@ -39,7 +40,7 @@ private:
QString separator;
};
-#define CSVAPPS 4
+#define CSVAPPS 5
static const CSVAppConfig CSVApps[CSVAPPS];
};