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>
This commit is contained in:
Dirk Hohndel 2014-03-17 08:14:58 -07:00
parent 33b1b0ed9d
commit 60ceb8ebc1

View file

@ -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();