Import: Make DiveLogImportDialog modal

By making this modal, we can use a local variable and remove the
nasty "deleteLater()" hack to reclaim the resources after the
dialog closes.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2018-10-01 18:12:59 +02:00 committed by Dirk Hohndel
parent 3f51849dc3
commit 5a78730561
3 changed files with 2 additions and 20 deletions

View file

@ -89,8 +89,6 @@ slots:
void loadFileContents(int value, enum whatChanged triggeredBy);
int setup_csv_params(QStringList r, char **params, int pnr);
int parseTxtHeader(QString fileName, char **params, int pnr);
void accept() override;
void reject() override;
private:
bool selector;