mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	cleanup: only include QString in desktop-widgets/importgps.h
This included QFile, which is fatter and not needed here. Include QFile only in the actual translation unit. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
		
							parent
							
								
									95284c026e
								
							
						
					
					
						commit
						46cdf24e11
					
				
					 2 changed files with 2 additions and 3 deletions
				
			
		|  | @ -1,6 +1,7 @@ | |||
| // SPDX-License-Identifier: GPL-2.0
 | ||||
| #include "core/parse-gpx.h" | ||||
| #include "core/dive.h" | ||||
| #include <QFile> | ||||
| #include <QXmlStreamReader> | ||||
| 
 | ||||
| // Find the coordinates at the time specified in coords.start_dive
 | ||||
|  |  | |||
|  | @ -2,8 +2,7 @@ | |||
| #ifndef PARSE_GPX_H | ||||
| #define PARSE_GPX_H | ||||
| 
 | ||||
| 
 | ||||
| #include <QFile> | ||||
| #include <QString> | ||||
| 
 | ||||
| struct dive_coords {         // This structure holds important information after parsing the GPX file:
 | ||||
| 	time_t start_dive;            // Start time of the current dive, obtained using current_dive (local time)
 | ||||
|  | @ -19,4 +18,3 @@ struct dive_coords {         // This structure holds important information after | |||
| int getCoordsFromGPXFile(dive_coords *coords, QString fileName); | ||||
| 
 | ||||
| #endif | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue