mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
profile: initialize DiveEventItem::dive to null
To simplify debugging, this should be initialized. Found by coverity. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
9655417ad3
commit
3fcac9022c
1 changed files with 2 additions and 1 deletions
|
@ -18,7 +18,8 @@ DiveEventItem::DiveEventItem(QGraphicsItem *parent) : DivePixmapItem(parent),
|
||||||
vAxis(NULL),
|
vAxis(NULL),
|
||||||
hAxis(NULL),
|
hAxis(NULL),
|
||||||
dataModel(NULL),
|
dataModel(NULL),
|
||||||
internalEvent(NULL)
|
internalEvent(NULL),
|
||||||
|
dive(NULL)
|
||||||
{
|
{
|
||||||
setFlag(ItemIgnoresTransformations);
|
setFlag(ItemIgnoresTransformations);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue