diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2018-10-01 15:05:11 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-10-04 10:22:11 +0200 |
commit | 3f51849dc3582d34683c111e5fd3a53f414ab1c2 (patch) | |
tree | 4f8d339be5236cf6493755aa29b564921e994de9 /desktop-widgets/divelogimportdialog.h | |
parent | a4051749fdb2dc94013673702e1d1858294541bd (diff) | |
download | subsurface-3f51849dc3582d34683c111e5fd3a53f414ab1c2.tar.gz |
Cleanup: move CSVApps into .cpp file
No point in having this in the header file as it is not used
outside.
Remove the CSVAPPS macro, as this was never used. One thing less
to maintain.
Remove the sentinel with name = NULL, as we can simply use
range-based for.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/divelogimportdialog.h')
-rw-r--r-- | desktop-widgets/divelogimportdialog.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/desktop-widgets/divelogimportdialog.h b/desktop-widgets/divelogimportdialog.h index 318895617..e8ba4b598 100644 --- a/desktop-widgets/divelogimportdialog.h +++ b/desktop-widgets/divelogimportdialog.h @@ -103,26 +103,6 @@ private: QString hw; bool txtLog; - struct CSVAppConfig { - QString name; - int time; - int depth; - int temperature; - int po2; - int sensor1; - int sensor2; - int sensor3; - int cns; - int ndl; - int tts; - int stopdepth; - int pressure; - int setpoint; - QString separator; - }; - -#define CSVAPPS 11 - static const CSVAppConfig CSVApps[CSVAPPS]; }; class TagDragDelegate : public QStyledItemDelegate { |