mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	mapwidgethelper: obtain a list of nearby dives
Based on a current location (MapLocation), iterate the dive list and add nearby dives (distance smaller than m_smallCircleRadius) to a local QList property (m_selectedDiveIds). Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
This commit is contained in:
		
							parent
							
								
									5ea702199b
								
							
						
					
					
						commit
						50f42cfdef
					
				
					 2 changed files with 17 additions and 1 deletions
				
			
		|  | @ -27,6 +27,7 @@ private: | |||
| 	QObject *m_map; | ||||
| 	MapLocationModel *m_mapLocationModel; | ||||
| 	qreal m_smallCircleRadius; | ||||
| 	QList<int> m_selectedDiveIds; | ||||
| 
 | ||||
| private slots: | ||||
| 	void selectedLocationChanged(MapLocation *); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue