mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
62cbf26cc8
commit
4f5621c4c6
3 changed files with 11 additions and 16 deletions
|
|
@ -211,7 +211,6 @@ private:
|
|||
LocationInformationWidget *diveSiteEdit;
|
||||
|
||||
bool plannerStateClean();
|
||||
void setupForAddAndPlan(const char *model);
|
||||
void configureToolbar();
|
||||
void setupSocialNetworkMenu();
|
||||
QDialog *findMovedImagesDialog;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue