aboutsummaryrefslogtreecommitdiffstats
path: root/translations/subsurface_source.ts
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2018-07-26 18:03:07 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-07-27 09:08:42 -0700
commit67a875ef81290fe49a0b25e174615942d8404bea (patch)
tree455d985065a290cca1b6e2c1f16d66b2a57bd1ed /translations/subsurface_source.ts
parent079b99135a2340d9ffc97ceec2b2b5e288f597de (diff)
downloadsubsurface-67a875ef81290fe49a0b25e174615942d8404bea.tar.gz
Dive list view: setup columns in constructor
The column-widths must only be set once the source-model is that. The old code realized this with a rather complicated logic. Instead, simply set the source-model in the constructor and set the column widths after that. Rename the corresponding function from "setupUi" to "setColumnWidths". Moreover, the setupUi function had different code-paths for the first and other calls. Since it is only called once, remove the other code paths. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'translations/subsurface_source.ts')
0 files changed, 0 insertions, 0 deletions