diff options
author | Miika Turkia <miika.turkia@gmail.com> | 2014-01-16 22:50:16 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-01-17 05:57:45 +0700 |
commit | e9f3d652e8b060419778d5578c1ad019d65c5879 (patch) | |
tree | 235aa018e25b8d45a05d57552fef8393504accd7 /qt-ui/divelogimportdialog.h | |
parent | 2167088f1c9b7e0b9dcda085bf83c27f1257e37a (diff) | |
download | subsurface-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.h | 3 |
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]; }; |