diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2018-10-01 14:17:38 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-10-04 10:22:11 +0200 |
commit | a4051749fdb2dc94013673702e1d1858294541bd (patch) | |
tree | d67bd9d8f4e1f7ea197f90d8eba0c3f262a12a33 /desktop-widgets/divelogimportdialog.h | |
parent | 9788d73d48939031806b5e58dec497dae354d0cf (diff) | |
download | subsurface-a4051749fdb2dc94013673702e1d1858294541bd.tar.gz |
Import: import Poseidon MkVI logs via DiveLogImportDialog
Poseidon MkVI logs (.txt) were special cased in MainWindow.cpp,
which led to a user-interface inconsistency. In some cases
[user chooses ".txt" (non-Poseidon) and ".csv"], *two*
import-dialogs were shown.
Move handling of Poseidon MkVI logs into DiveLogImportDialog.
There are already other "special" cases handled in this dialog.
At the moment, this shows the first 10 depth-values, which is
kind of useless, as this will all be at surface level. We
might think about something more useful.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/divelogimportdialog.h')
-rw-r--r-- | desktop-widgets/divelogimportdialog.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop-widgets/divelogimportdialog.h b/desktop-widgets/divelogimportdialog.h index a6f2a8868..318895617 100644 --- a/desktop-widgets/divelogimportdialog.h +++ b/desktop-widgets/divelogimportdialog.h @@ -121,7 +121,7 @@ private: QString separator; }; -#define CSVAPPS 10 +#define CSVAPPS 11 static const CSVAppConfig CSVApps[CSVAPPS]; }; |