mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Cleanup: Fix order of initialization in MainTab::MainTab()
For deterministic construction/destruction (i.e. objects are destructed in reverse order of construction) it is crucial that constructor initializer lists follow the order of the class definition. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
		
							parent
							
								
									f0c61be711
								
							
						
					
					
						commit
						569e532f5c
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -50,11 +50,11 @@ struct Completers { | |||
| 
 | ||||
| MainTab::MainTab(QWidget *parent) : QTabWidget(parent), | ||||
| 	editMode(NONE), | ||||
| 	modified(false), | ||||
| 	lastSelectedDive(true), | ||||
| 	lastTabSelectedDive(0), | ||||
| 	lastTabSelectedDiveTrip(0), | ||||
| 	currentTrip(0), | ||||
| 	modified(false) | ||||
| 	currentTrip(0) | ||||
| { | ||||
| 	ui.setupUi(this); | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue