mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
profile: add plan-mode flag to ProfileWidget::plotDive()
The flag is passed down to the ProfileView to give a different background. Amazingly, this seems to survive light testing. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
c1ede48552
commit
2d56f70e5f
3 changed files with 7 additions and 15 deletions
|
|
@ -20,9 +20,8 @@ class ProfileWidget : public QWidget {
|
|||
public:
|
||||
ProfileWidget();
|
||||
~ProfileWidget();
|
||||
void plotDive(struct dive *d, int dc); // Attempt to keep DC number id dc < 0
|
||||
void plotDive(struct dive *d, int dc, bool planMode = false); // Attempt to keep DC number id dc < 0
|
||||
void plotCurrentDive();
|
||||
void setPlanState(const struct dive *d, int dc);
|
||||
void setEnabledToolbar(bool enabled);
|
||||
void nextDC();
|
||||
void prevDC();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue