cleanup: remove parameter to MainTab::enableEdition

All remaining callers were passing MANUALLY_ADDED_DIVE as a new
mode, so we may just as well remove the parameter and thus
simplify the logic.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2020-03-02 16:03:32 +01:00
parent accf1fcc8f
commit 13d339451e
3 changed files with 6 additions and 6 deletions

View file

@ -72,7 +72,7 @@ slots:
void closeMessage();
void closeWarning();
void displayMessage(QString str);
void enableEdition(EditMode newEditMode = NONE);
void enableEdition();
void escDetected(void);
private:
Ui::MainTab ui;