mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
profile: rename ADD state to EDIT state
The ADD state is not used for adding dives since adding dives was made undoable. Therefore, rename it to EDIT state, since that is what it is used for. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
9424760eff
commit
4a7cf0e970
3 changed files with 20 additions and 20 deletions
|
@ -60,7 +60,7 @@ public:
|
|||
enum State {
|
||||
EMPTY,
|
||||
PROFILE,
|
||||
ADD,
|
||||
EDIT,
|
||||
PLAN,
|
||||
INVALID
|
||||
};
|
||||
|
@ -82,7 +82,7 @@ public:
|
|||
void plotDive(const struct dive *d, int dc, bool clearPictures = false, bool instant = false);
|
||||
void setProfileState(const struct dive *d, int dc);
|
||||
void setPlanState(const struct dive *d, int dc);
|
||||
void setAddState(const struct dive *d, int dc);
|
||||
void setEditState(const struct dive *d, int dc);
|
||||
void setPrintMode(bool mode, bool grayscale = false);
|
||||
bool isPointOutOfBoundaries(const QPointF &point) const;
|
||||
bool isPlanner() const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue