From 5a787305612c18ee9a442e4dd6067d3c35f05f87 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Mon, 1 Oct 2018 18:12:59 +0200 Subject: 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 --- desktop-widgets/divelogimportdialog.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'desktop-widgets/divelogimportdialog.h') diff --git a/desktop-widgets/divelogimportdialog.h b/desktop-widgets/divelogimportdialog.h index e8ba4b598..d64cbc656 100644 --- a/desktop-widgets/divelogimportdialog.h +++ b/desktop-widgets/divelogimportdialog.h @@ -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; -- cgit v1.2.3-70-g09d2