mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Remove warning about item not on the scene.
This patch fixes a warning about the QGraphicsItems not being on the QGraphicsScene, and thus, cannot be removed from it. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
c88ccfae99
commit
470de7ee07
1 changed files with 2 additions and 2 deletions
|
@ -32,8 +32,8 @@ ProfileWidget2::ProfileWidget2(QWidget *parent) :
|
|||
timeAxis(new TimeAxis()),
|
||||
depthController(new DiveRectItem()),
|
||||
timeController(new DiveRectItem()),
|
||||
diveProfileItem(new DiveProfileItem()),
|
||||
temperatureItem(new DiveTemperatureItem()),
|
||||
diveProfileItem(NULL),
|
||||
temperatureItem(NULL),
|
||||
cartesianPlane(new DiveCartesianPlane())
|
||||
{
|
||||
setScene(new QGraphicsScene());
|
||||
|
|
Loading…
Add table
Reference in a new issue