mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 23:03:23 +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
Reference in a new issue