diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2018-11-04 20:24:16 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-11-05 07:55:53 -0800 |
commit | da3ea59a25890b5992413e80c4260e4350129061 (patch) | |
tree | bdf64f4a2629e3c1b379ce8e725c581b2d49fc46 /translations/CMakeLists.txt | |
parent | 64a1a50e10c4ec8432de9d7cc08921b1b5b490a5 (diff) | |
download | subsurface-da3ea59a25890b5992413e80c4260e4350129061.tar.gz |
Dive list: let sort arrows reflect sort order for NR and DATE
The old code always sorted by "ascending" by default. But
because users typically want their new dives top, "ascending"
was defined for NR and DATE, such that it is actually descending.
Turn these around and intitialize these two fields as
default-descending.
This is possible using the Qt::InitialSortOrderRole role
in DiveTripModel::headerData().
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'translations/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions