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
@ -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…
x
Reference in New Issue
Block a user