summaryrefslogtreecommitdiffstats
path: root/qt-ui/profile/profilewidget2.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-02-25 12:27:12 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-02-25 12:27:12 -0800
commitc0e489c1eaa763bb0d9c22324af2224e2eb8872b (patch)
tree6b5545540a845dcc66d08f82f371ba2f61626230 /qt-ui/profile/profilewidget2.cpp
parentb5a02e50aa94c10d2c9f2062af6b4e8d9cfb9294 (diff)
downloadsubsurface-c0e489c1eaa763bb0d9c22324af2224e2eb8872b.tar.gz
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>
Diffstat (limited to 'qt-ui/profile/profilewidget2.cpp')
-rw-r--r--qt-ui/profile/profilewidget2.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/profile/profilewidget2.cpp b/qt-ui/profile/profilewidget2.cpp
index 9094669fd..dda97c6e0 100644
--- a/qt-ui/profile/profilewidget2.cpp
+++ b/qt-ui/profile/profilewidget2.cpp
@@ -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);
}