Plot the events on top of the profile.
Changes the ZValue of the event items so they are plotted on top of the profile, instead of being hidden on some. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
edad8712b9
commit
63c1a1b3e9
@ -324,6 +324,7 @@ void ProfileWidget2::plotDives(QList<dive*> dives)
|
||||
item->setVerticalAxis(profileYAxis);
|
||||
item->setModel(dataModel);
|
||||
item->setEvent(event);
|
||||
item->setZValue(2);
|
||||
scene()->addItem(item);
|
||||
eventItems.push_back(item);
|
||||
event = event->next;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user