summaryrefslogtreecommitdiffstats
path: root/map-widget
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2018-07-25 20:40:47 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-07-27 09:08:42 -0700
commit079b99135a2340d9ffc97ceec2b2b5e288f597de (patch)
tree417878396fbcf1c5d07a4eba6114687ee75b2ffb /map-widget
parentd3dc698bba07b4dd23a21c826a36d8bcc87fd3be (diff)
downloadsubsurface-079b99135a2340d9ffc97ceec2b2b5e288f597de.tar.gz
Dive list view: move column width logic back from DiveTripModel
Conceptually, the width of the columns should probably reside in the view not the model. But much more severly, the old code didn't work: Columns were set in a DiveTripModel, which was deleted right away. Therefore, move the logic back to the DiveListView. Introduce a QVector<int> of the initial column widths, so that they can be erased from the setting if unchanged. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'map-widget')
0 files changed, 0 insertions, 0 deletions