mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Dive site: use an array of pointers in reloadMapLocations()
MapWidgetHelper::reloadMapLocations() used an array of uuids to add dive sites to the map only once. Replace this by an array of pointers. This is a small piece of a larger effort to remove dive site UUIDs. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
75b5d61522
commit
f41bb32428
2 changed files with 4 additions and 4 deletions
|
@ -129,7 +129,7 @@ QString DiveObjectHelper::gps_decimal() const
|
|||
|
||||
QVariant DiveObjectHelper::dive_site() const
|
||||
{
|
||||
return QVariant::fromValue((void *)get_dive_site_by_uuid(m_dive->dive_site_uuid));
|
||||
return QVariant::fromValue((uintptr_t)get_dive_site_by_uuid(m_dive->dive_site_uuid));
|
||||
}
|
||||
|
||||
QString DiveObjectHelper::duration() const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue