Cleanup: Improve Connection Handling in Profile.

- improve naming;
- remove unneeded disconnects.

Signed-off-by: Michael Keller <github@ike.ch>
This commit is contained in:
=Michael Keller 2024-05-25 00:33:44 +12:00 committed by bstoeger
parent 8c14fb971c
commit ecc6f64d10
2 changed files with 14 additions and 16 deletions

View file

@ -115,7 +115,6 @@ private:
void setupSceneAndFlags();
void addItemsToScene();
void setupItemOnScene();
void disconnectTemporaryConnections();
struct plot_data *getEntryFromPos(QPointF pos);
void clearPictures();
void plotPicturesInternal(const struct dive *d, bool synchronous);
@ -184,6 +183,7 @@ private:
std::vector<std::unique_ptr<DiveHandler>> handles;
int handleIndex(const DiveHandler *h) const;
void disconnectPlannerModel();
#ifndef SUBSURFACE_MOBILE
void connectPlannerModel();
void repositionDiveHandlers();