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>
This commit is contained in:
Miika Turkia 2014-01-16 22:50:16 +02:00 committed by Dirk Hohndel
parent 2167088f1c
commit e9f3d652e8
2 changed files with 14 additions and 3 deletions

View file

@ -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];
};