mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
New profile: add event info to tooltip
This appears to correctly add the tooltip to the event item, but for some reason the tooltip isn't displayed for most events. Still needs more work. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
b5a02e50aa
commit
c0e489c1ea
3 changed files with 25 additions and 30 deletions
|
@ -399,6 +399,7 @@ void ProfileWidget2::plotDives(QList<dive*> dives)
|
|||
// Only set visible the ones that should be visible, but how?
|
||||
Q_FOREACH(DiveEventItem *event, eventItems){
|
||||
event->setVisible(true);
|
||||
// qDebug() << event->getEvent()->name << "@" << event->getEvent()->time.seconds;
|
||||
}
|
||||
diveComputerText->setText(currentdc->model);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue