summaryrefslogtreecommitdiffstats
path: root/translations
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-11-27 21:55:37 +0100
committerGravatar bstoeger <32835590+bstoeger@users.noreply.github.com>2019-12-04 13:00:23 +0100
commite46b1e88d92990d26d34981baf70fcf0b58ebec7 (patch)
treebccf82da75c5e1c1a7e7578109e5229d22ca1288 /translations
parenta431840075fbba6f882627496f18a0fb80630e4f (diff)
downloadsubsurface-e46b1e88d92990d26d34981baf70fcf0b58ebec7.tar.gz
Selection: move translation of indexes to filter model
The DiveListView caught signals from the DiveTripModel with the corresponding indexes. However, the DiveListView is actually connected to the MultiFilterSortModel and thus has to translate the indexes. Instead, catch the signals in the MultiFilterSortModel, transform them and resend. Let the DiveListView get its signal from the MultiFilterSortModel. Yes, this makes things less efficient because there is an extra signal. On the upside, the makes data-flow much more logical. Selection will have to be fixed anyway. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'translations')
0 files changed, 0 insertions, 0 deletions