mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Dive site: replace displayed_dive_site by pointer
In the dive-site-edit widget, a copy of the current dive site was used to store the old (pre-edit) data. This is not necessary, since we can simply access the data in the original dive site. Thus, replace the subobject by a simple pointer. This is part of a series to replace dive-site uuids by pointers. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
a823974b70
commit
11a211fb02
2 changed files with 54 additions and 49 deletions
|
@ -52,7 +52,7 @@ private:
|
|||
bool modified;
|
||||
QAction *acceptAction, *rejectAction;
|
||||
GPSLocationInformationModel filter_model;
|
||||
dive_site displayed_dive_site;
|
||||
dive_site *diveSite;
|
||||
taxonomy_data taxonomy;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue