]> git.tdb.fi Git - ext/subsurface.git/commitdiff
Improve tree model implementation
authorDirk Hohndel <dirk@hohndel.org>
Mon, 13 Aug 2012 20:09:40 +0000 (13:09 -0700)
committerDirk Hohndel <dirk@hohndel.org>
Tue, 14 Aug 2012 19:42:54 +0000 (12:42 -0700)
We now support three hierarchy levels: day, month, and year. Each
indicated by a negative DIVE_INDEX for -1 to -3. This allows a nice
compact overview when doing date based sorting (the default).

As indicated in the previous commit, things still go wrong with sorting by
other columns as the entries are only sorted within each day, not globally
across the whole dive list.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>

No differences found