mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Remove duplicated additem
This addItem was being called twice, and a warning that the item was already in the scene was annoying me. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									9cf6b2be6b
								
							
						
					
					
						commit
						9756be59aa
					
				
					 1 changed files with 0 additions and 2 deletions
				
			
		|  | @ -141,7 +141,6 @@ void ProfileWidget2::setupItemOnScene() | |||
| 
 | ||||
| 	cartesianPlane->setBottomAxis(timeAxis); | ||||
| 	cartesianPlane->setLeftAxis(profileYAxis); | ||||
| 	scene()->addItem(cartesianPlane); | ||||
| 
 | ||||
| 	diveComputerText->setAlignment(Qt::AlignLeft | Qt::AlignTop); | ||||
| 	diveComputerText->setBrush(getColor(TIME_TEXT)); | ||||
|  | @ -358,4 +357,3 @@ bool ProfileWidget2::eventFilter(QObject *object, QEvent *event) | |||
| 	} | ||||
| 	return QGraphicsView::eventFilter(object, event); | ||||
| } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue