mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +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…
	
	Add table
		Add a link
		
	
		Reference in a new issue