mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Cleanup: remove MainWindow::recreateDiveList() function
The function had only one line and had only one caller. We might just as well fold that line into the caller. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
		
							parent
							
								
									958032b21c
								
							
						
					
					
						commit
						a9da44b402
					
				
					 2 changed files with 1 additions and 7 deletions
				
			
		|  | @ -408,7 +408,7 @@ void MainWindow::refreshDisplay(bool doRecreateDiveList) | |||
| 	mainTab->reload(); | ||||
| 	TankInfoModel::instance()->update(); | ||||
| 	if (doRecreateDiveList) | ||||
| 		recreateDiveList(); | ||||
| 		diveList->reload(); | ||||
| 
 | ||||
| 	MapWidget::instance()->reload(); | ||||
| 	setApplicationState(ApplicationState::Default); | ||||
|  | @ -418,11 +418,6 @@ void MainWindow::refreshDisplay(bool doRecreateDiveList) | |||
| 	ui.actionAutoGroup->setChecked(autogroup); | ||||
| } | ||||
| 
 | ||||
| void MainWindow::recreateDiveList() | ||||
| { | ||||
| 	diveList->reload(); | ||||
| } | ||||
| 
 | ||||
| void MainWindow::configureToolbar() | ||||
| { | ||||
| 	if (current_dive) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue