mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Fix some memory leaks.
Memory leaks were caused by broken parent/child relations. Signed-off-by: Boris Barbulovski <bbarbulovski@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									a27f67c026
								
							
						
					
					
						commit
						6cc65f5e1c
					
				
					 11 changed files with 18 additions and 15 deletions
				
			
		|  | @ -960,7 +960,7 @@ DivePlannerWidget::DivePlannerWidget(QWidget* parent, Qt::WindowFlags f): QWidge | |||
| 	view->setColumnHidden(CylindersModel::START, true); | ||||
| 	view->setColumnHidden(CylindersModel::END, true); | ||||
| 	view->setColumnHidden(CylindersModel::DEPTH, false); | ||||
| 	view->setItemDelegateForColumn(CylindersModel::TYPE, new TankInfoDelegate()); | ||||
| 	view->setItemDelegateForColumn(CylindersModel::TYPE, new TankInfoDelegate(this)); | ||||
| 	connect(ui.cylinderTableWidget, SIGNAL(addButtonClicked()), DivePlannerPointsModel::instance(), SLOT(addCylinder_clicked())); | ||||
| 	connect(ui.tableWidget, SIGNAL(addButtonClicked()), DivePlannerPointsModel::instance(), SLOT(addStop())); | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue