mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Fix crash in new profile
The gasPressureItem needs to be initialized to null in the constructor. Signed-off-by: Michael Andreen <harv@ruin.nu> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									35979537d9
								
							
						
					
					
						commit
						b3179380cf
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -35,6 +35,7 @@ ProfileWidget2::ProfileWidget2(QWidget *parent) : | |||
| 	diveProfileItem(NULL), | ||||
| 	cylinderPressureAxis(new DiveCartesianAxis()), | ||||
| 	temperatureItem(NULL), | ||||
| 	gasPressureItem(NULL), | ||||
| 	cartesianPlane(new DiveCartesianPlane()) | ||||
| { | ||||
| 	setScene(new QGraphicsScene()); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue