mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 13:10:19 +00:00
Dive site: remove webservice code in MainTab::updateDiveSite()
There was still code in MainTab::updateDiveSite() related to dive-sites obtained from the obsolete web-service. Remove. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
954553b878
commit
ca211c03e0
1 changed files with 0 additions and 8 deletions
|
@ -702,14 +702,6 @@ uint32_t MainTab::updateDiveSite(uint32_t pickedUuid, dive *d)
|
|||
}
|
||||
}
|
||||
|
||||
if (origDs && pickedUuid != origDs->uuid && same_string(origDs->notes, "SubsurfaceWebservice")) {
|
||||
if (!is_dive_site_used(origDs->uuid, false)) {
|
||||
if (verbose)
|
||||
qDebug() << "delete the autogenerated dive site" << origDs->name;
|
||||
delete_dive_site(origDs->uuid);
|
||||
}
|
||||
}
|
||||
|
||||
d->dive_site_uuid = pickedUuid;
|
||||
qDebug() << "Setting the dive site id on the dive:" << pickedUuid;
|
||||
return pickedUuid;
|
||||
|
|
Loading…
Reference in a new issue