summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/mainwindow.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-04-13 15:35:27 +0200
committerGravatar Robert C. Helling <helling@atdotde.de>2020-05-04 10:42:07 +0200
commit4f5621c4c6acc3a1dbc1dbdc1267a222dcf66854 (patch)
tree118ffce3e495ccba777ecc34935704abfdd5333a /desktop-widgets/mainwindow.h
parent62cbf26cc8abd9373b72f919bdd50f666318873e (diff)
downloadsubsurface-4f5621c4c6acc3a1dbc1dbdc1267a222dcf66854.tar.gz
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>
Diffstat (limited to 'desktop-widgets/mainwindow.h')
-rw-r--r--desktop-widgets/mainwindow.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/desktop-widgets/mainwindow.h b/desktop-widgets/mainwindow.h
index 7f8e17196..683897cd7 100644
--- a/desktop-widgets/mainwindow.h
+++ b/desktop-widgets/mainwindow.h
@@ -211,7 +211,6 @@ private:
LocationInformationWidget *diveSiteEdit;
bool plannerStateClean();
- void setupForAddAndPlan(const char *model);
void configureToolbar();
void setupSocialNetworkMenu();
QDialog *findMovedImagesDialog;