diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-03-17 08:14:58 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-03-17 10:53:12 -0700 |
commit | 60ceb8ebc1afb196e66f7decb494c9e4e67fed7a (patch) | |
tree | adc0527fe08036969abb5b537ba408e13b443f84 | |
parent | 33b1b0ed9d6a9ccb41d0a86eae105903e61880e7 (diff) | |
download | subsurface-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>
-rw-r--r-- | qt-ui/profile/profilewidget2.cpp | 2 |
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(); |