mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
2167088f1c
commit
e9f3d652e8
2 changed files with 14 additions and 3 deletions
|
@ -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];
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue