summaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-03-17 08:14:58 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-03-17 10:53:12 -0700
commit60ceb8ebc1afb196e66f7decb494c9e4e67fed7a (patch)
treeadc0527fe08036969abb5b537ba408e13b443f84 /qt-ui
parent33b1b0ed9d6a9ccb41d0a86eae105903e61880e7 (diff)
downloadsubsurface-60ceb8ebc1afb196e66f7decb494c9e4e67fed7a.tar.gz
Silly change to a comment
I had intended to amend the previous commit with this before pushing it out. This changes the comment that pointed out the bug that the previous commit fixed. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r--qt-ui/profile/profilewidget2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/profile/profilewidget2.cpp b/qt-ui/profile/profilewidget2.cpp
index d5cf41981..9767de3e3 100644
--- a/qt-ui/profile/profilewidget2.cpp
+++ b/qt-ui/profile/profilewidget2.cpp
@@ -439,7 +439,7 @@ void ProfileWidget2::plotDives(QList<dive *> dives)
eventItems.push_back(item);
event = event->next;
}
- // Only set visible the ones that should be visible, but how?
+ // Only set visible the events that should be visible
Q_FOREACH(DiveEventItem * event, eventItems) {
event->setVisible(!event->shouldBeHidden());
// qDebug() << event->getEvent()->name << "@" << event->getEvent()->time.seconds << "is hidden:" << event->isHidden();