mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Preferences UI: add dive log tab
This adds a tab for dive log - related preferences. A suitable test programs is still required. Signed-off-by: willemferguson <willemferguson@zoology.up.ac.za> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									b24caa4e2d
								
							
						
					
					
						commit
						b6c3cdb20c
					
				
					 35 changed files with 467 additions and 357 deletions
				
			
		|  | @ -39,7 +39,7 @@ | |||
| #include "core/selection.h" | ||||
| #include "core/ssrf.h" | ||||
| #include "core/save-profiledata.h" | ||||
| #include "core/settings/qPrefGeneral.h" | ||||
| #include "core/settings/qPrefLog.h" | ||||
| #include "core/settings/qPrefLocationService.h" | ||||
| #include "core/settings/qPrefTechnicalDetails.h" | ||||
| #include "core/settings/qPrefPartialPressureGas.h" | ||||
|  | @ -1308,7 +1308,7 @@ void QMLManager::openNoCloudRepo() | |||
| 	if (git == dummy_git_repository) { | ||||
| 		git_create_local_repo(filename); | ||||
| 		set_filename(filename); | ||||
| 		auto s = qPrefGeneral::instance(); | ||||
| 		auto s = qPrefLog::instance(); | ||||
| 		s->set_default_filename(filename); | ||||
| 		s->set_default_file_behavior(LOCAL_DEFAULT_FILE); | ||||
| 	} | ||||
|  | @ -1324,7 +1324,7 @@ void QMLManager::saveChangesLocal() | |||
| 				char *filename = NOCLOUD_LOCALSTORAGE; | ||||
| 				git_create_local_repo(filename); | ||||
| 				set_filename(filename); | ||||
| 				auto s = qPrefGeneral::instance(); | ||||
| 				auto s = qPrefLog::instance(); | ||||
| 				s->set_default_filename(filename); | ||||
| 				s->set_default_file_behavior(LOCAL_DEFAULT_FILE); | ||||
| 			} | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue