mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	cleanup: remove unused CylindersModelFiltered functions
add() and remove() are not used anymore since this is done using undo commands. The planner uses CylindersModel instead. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
		
							parent
							
								
									ff38c03e00
								
							
						
					
					
						commit
						d597b6dca5
					
				
					 2 changed files with 0 additions and 14 deletions
				
			
		|  | @ -636,21 +636,11 @@ void CylindersModelFiltered::clear() | |||
| 	source.clear(); | ||||
| } | ||||
| 
 | ||||
| void CylindersModelFiltered::add() | ||||
| { | ||||
| 	source.add(); | ||||
| } | ||||
| 
 | ||||
| CylindersModel *CylindersModelFiltered::model() | ||||
| { | ||||
| 	return &source; | ||||
| } | ||||
| 
 | ||||
| void CylindersModelFiltered::remove(QModelIndex index) | ||||
| { | ||||
| 	source.remove(mapToSource(index)); | ||||
| } | ||||
| 
 | ||||
| bool CylindersModelFiltered::filterAcceptsRow(int source_row, const QModelIndex &source_parent) const | ||||
| { | ||||
| 	return prefs.display_unused_tanks || source.cylinderUsed(source_row); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue