aboutsummaryrefslogtreecommitdiffstats
path: root/qt-models/divetripmodel.cpp
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2018-11-04 18:11:30 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-11-05 07:55:53 -0800
commit64a1a50e10c4ec8432de9d7cc08921b1b5b490a5 (patch)
treeba9446e1ca314913797963b17e9ec131c0639af4 /qt-models/divetripmodel.cpp
parentf2f18b4e16656f0eb0d6b41981baa991ade3d33c (diff)
downloadsubsurface-64a1a50e10c4ec8432de9d7cc08921b1b5b490a5.tar.gz
Dive list: remove sortColumn and currentOrder members
Since the QHeaderView of DiveListView is now the authority over sort-column and sort-order, it makes little sense to keep these as member variables. That would only risk inconsistencies. Remove them and query the QHeaderView instead. We still need to keep track of currentLayout, as we have to detect if it changes to change the underlying model from tree to list or vice-versa. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'qt-models/divetripmodel.cpp')
0 files changed, 0 insertions, 0 deletions