mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	profile: remove AbstractProfilePolygonItem::setVisible()
This was just a stub to make the setVisible() function a "slot". Since there are no more signals using it, remove it. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
		
							parent
							
								
									17dabe5d09
								
							
						
					
					
						commit
						ca7a2df121
					
				
					 2 changed files with 0 additions and 8 deletions
				
			
		| 
						 | 
				
			
			@ -26,11 +26,6 @@ void AbstractProfilePolygonItem::clear()
 | 
			
		|||
	texts.clear();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void AbstractProfilePolygonItem::setVisible(bool visible)
 | 
			
		||||
{
 | 
			
		||||
	QGraphicsPolygonItem::setVisible(visible);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void AbstractProfilePolygonItem::replot(const dive *, bool)
 | 
			
		||||
{
 | 
			
		||||
	// Calculate the polygon. This is the polygon that will be painted on screen
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -39,9 +39,6 @@ public:
 | 
			
		|||
	virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0) = 0;
 | 
			
		||||
	void clear();
 | 
			
		||||
	virtual void replot(const dive *d, bool in_planner);
 | 
			
		||||
public
 | 
			
		||||
slots:
 | 
			
		||||
	void setVisible(bool visible);
 | 
			
		||||
 | 
			
		||||
protected:
 | 
			
		||||
	const DiveCartesianAxis &hAxis;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue