mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Cleanup: Improve Connection Handling in Profile.
- improve naming; - remove unneeded disconnects. Signed-off-by: Michael Keller <github@ike.ch>
This commit is contained in:
parent
8c14fb971c
commit
ecc6f64d10
2 changed files with 14 additions and 16 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue