mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Cleanup: Remove MainTab::getEditMode() function
The only caller of said function used to check whether MainTab is in edit mode. For this case there is already a function - use that instead. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
		
							parent
							
								
									88dc32fdfc
								
							
						
					
					
						commit
						4bb002d137
					
				
					 3 changed files with 1 additions and 7 deletions
				
			
		|  | @ -704,11 +704,6 @@ void MainTab::reload() | |||
| 		mark_divelist_changed(true);                 \ | ||||
| 	} while (0) | ||||
| 
 | ||||
| MainTab::EditMode MainTab::getEditMode() const | ||||
| { | ||||
| 	return editMode; | ||||
| } | ||||
| 
 | ||||
| void MainTab::refreshDisplayedDiveSite() | ||||
| { | ||||
| 	struct dive_site *ds = get_dive_site_for_dive(current_dive); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue