mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
accf1fcc8f
commit
13d339451e
3 changed files with 6 additions and 6 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue