desktop: fold configureToolBar() into plotCurrentDive()

The MainWindow::configureToolBar() function is called every
time plotCurrentDive() is called. Moreover, this is the only
time that it is called. We might just fold the former into
the latter.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2021-04-12 22:20:46 +02:00 committed by Dirk Hohndel
parent c466a8f044
commit 6b615ccb4b
2 changed files with 3 additions and 13 deletions

View file

@ -201,7 +201,6 @@ private:
std::unique_ptr<LocationInformationWidget> diveSiteEdit;
bool plannerStateClean();
void configureToolbar();
void setupSocialNetworkMenu();
QDialog *findMovedImagesDialog;
struct dive copyPasteDive;