Planner: fold MainWindow::setupForAddAndPlan into createSimpleDive()

There was only one caller of MainWindow::setupForAddAndPlan() left
and that caller immediately called DivePlannerPointsModel::createSimpleDive().
Thus, we might just as fold the former in the latter and thus
concentrate all the prepare-dive-for-plan business in one place.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2020-04-13 15:35:27 +02:00 committed by Robert C. Helling
parent 62cbf26cc8
commit 4f5621c4c6
3 changed files with 11 additions and 16 deletions

View file

@ -211,7 +211,6 @@ private:
LocationInformationWidget *diveSiteEdit;
bool plannerStateClean();
void setupForAddAndPlan(const char *model);
void configureToolbar();
void setupSocialNetworkMenu();
QDialog *findMovedImagesDialog;