diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2018-11-02 08:09:00 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-11-02 07:46:01 -0700 |
commit | 76f38ff33b918d4880614ff277b4b611c0ce2998 (patch) | |
tree | d80af27105d2b012dd0c550a5b42728d871d5bb1 /qt-models/divetripmodel.cpp | |
parent | 1ba15a91ae963d2cb1862b6f477c6fe7778abcef (diff) | |
download | subsurface-76f38ff33b918d4880614ff277b4b611c0ce2998.tar.gz |
Dive list: invert default sort order for sort by date / number
Commit 6dc1d239f81f16133d5954bd2b21ffa0c2dcc755 introduced a
well-defined sort order in the case of equal contents. It changed
the code for sorting by date to simply use the order of the
source model.
BUT: The source-model was already sorted in descending order
on date. Thus setting the default order on descening by date,
the data was then presented as *ascending* by date.
Change this back to descending by always using default-ascending
in the filter model.
Ultimately, the source model should simply reflect the ordering
of the core-data (ascending on date), but such a change is
too invasive shortly before release.
Reported-by: Jan Mulder <jlmulder@xs4all.nl>
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'qt-models/divetripmodel.cpp')
0 files changed, 0 insertions, 0 deletions