mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Mobile: provide better tracking of applied GPS fixes
Also reset the page stack to make sure we don't end up with stale data. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									4c55074bd7
								
							
						
					
					
						commit
						bf6a644fc6
					
				
					 4 changed files with 15 additions and 7 deletions
				
			
		|  | @ -1577,8 +1577,12 @@ QString QMLManager::getCurrentPosition() | |||
| 
 | ||||
| void QMLManager::applyGpsData() | ||||
| { | ||||
| 	if (locationProvider->applyLocations()) | ||||
| 		refreshDiveList(); | ||||
| 	appendTextToLog("Applying GPS fiexs"); | ||||
| 	int cnt = locationProvider->applyLocations(); | ||||
| 	if (cnt == 0) | ||||
| 		return; | ||||
| 	appendTextToLog(QString("Attached %1 GPS fixes").arg(cnt)); | ||||
| 	refreshDiveList(); | ||||
| } | ||||
| 
 | ||||
| void QMLManager::populateGpsData() | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue