mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	cleanup: remove pref.h include in dive.h
If source files want to access preferences functions, they should include pref.h themselves. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
		
							parent
							
								
									a719bfbeaf
								
							
						
					
					
						commit
						b984839836
					
				
					 4 changed files with 3 additions and 2 deletions
				
			
		|  | @ -13,6 +13,7 @@ | ||||||
| #include "core/divefilter.h" | #include "core/divefilter.h" | ||||||
| #include "core/divesite.h" | #include "core/divesite.h" | ||||||
| #include "core/picture.h" | #include "core/picture.h" | ||||||
|  | #include "core/pref.h" | ||||||
| #include "core/sample.h" | #include "core/sample.h" | ||||||
| #include "exportfuncs.h" | #include "exportfuncs.h" | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -4,6 +4,7 @@ | ||||||
| 
 | 
 | ||||||
| #include "core/dive.h" | #include "core/dive.h" | ||||||
| #include "core/pictureobj.h" | #include "core/pictureobj.h" | ||||||
|  | #include "core/taxonomy.h" | ||||||
| #include <QVector> | #include <QVector> | ||||||
| #include <QAction> | #include <QAction> | ||||||
| #include <vector> | #include <vector> | ||||||
|  |  | ||||||
|  | @ -233,6 +233,4 @@ Q_DECLARE_METATYPE(struct dive *); | ||||||
| 
 | 
 | ||||||
| #endif | #endif | ||||||
| 
 | 
 | ||||||
| #include "pref.h" |  | ||||||
| 
 |  | ||||||
| #endif // DIVE_H
 | #endif // DIVE_H
 | ||||||
|  |  | ||||||
|  | @ -16,6 +16,7 @@ | ||||||
| #include "dive.h" | #include "dive.h" | ||||||
| #include "display.h" | #include "display.h" | ||||||
| #include "divelist.h" | #include "divelist.h" | ||||||
|  | #include "pref.h" | ||||||
| #include "subsurface-string.h" | #include "subsurface-string.h" | ||||||
| #include "table.h" | #include "table.h" | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue