mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Fix building with NO_MARBLE prepareForGetDiveCoordinates
Commit fb82da58a2 ("Globe: assume that we are looking at the
current_dive") changed the prototype for
GlobeGPS::prepareForGetDiveCoordinates. This patches the dummy in
NO_MARBLE.
Signed-off-by: Anton Lundin <glance@acc.umu.se>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
			
			
This commit is contained in:
		
							parent
							
								
									1c64a986ee
								
							
						
					
					
						commit
						91c20357f5
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		|  | @ -345,6 +345,6 @@ GlobeGPS::GlobeGPS(QWidget* parent) { setText("MARBLE DISABLED AT BUILD TIME"); | |||
| void GlobeGPS::repopulateLabels() {} | ||||
| void GlobeGPS::centerOnCurrentDive() {} | ||||
| bool GlobeGPS::eventFilter(QObject *obj, QEvent *ev) {} | ||||
| void GlobeGPS::prepareForGetDiveCoordinates(struct dive *dive) {} | ||||
| void GlobeGPS::prepareForGetDiveCoordinates() {} | ||||
| void GlobeGPS::reload() {} | ||||
| #endif | ||||
|  |  | |||
|  | @ -57,7 +57,7 @@ public: | |||
| 	void centerOnCurrentDive(); | ||||
| 	bool eventFilter(QObject*, QEvent*); | ||||
| public slots: | ||||
| 	void prepareForGetDiveCoordinates(struct dive *dive); | ||||
| 	void prepareForGetDiveCoordinates(); | ||||
| }; | ||||
| 
 | ||||
| #endif // NO_MARBLE
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue