mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Cleanup: remove unused function DiveObjectHelper::weight(int)
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
		
							parent
							
								
									461c610a3d
								
							
						
					
					
						commit
						fcacfd7ce6
					
				
					 2 changed files with 0 additions and 8 deletions
				
			
		| 
						 | 
				
			
			@ -249,13 +249,6 @@ bool DiveObjectHelper::singleWeight() const
 | 
			
		|||
	return m_dive->weightsystems.nr <= 1;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
QString DiveObjectHelper::weight(int idx) const
 | 
			
		||||
{
 | 
			
		||||
	if ((idx < 0) || idx >= m_dive->weightsystems.nr)
 | 
			
		||||
		return QString();
 | 
			
		||||
	return getFormattedWeight(m_dive, idx);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
QString DiveObjectHelper::suit() const
 | 
			
		||||
{
 | 
			
		||||
	return m_dive->suit ? m_dive->suit : QString();
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -74,7 +74,6 @@ public:
 | 
			
		|||
	QString sac() const;
 | 
			
		||||
	QString weightList() const;
 | 
			
		||||
	QStringList weights() const;
 | 
			
		||||
	QString weight(int idx) const;
 | 
			
		||||
	bool singleWeight() const;
 | 
			
		||||
	QString suit() const;
 | 
			
		||||
	QStringList cylinderList() const;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue