aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/android/after_success.sh
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2018-06-28 19:36:53 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-06-29 08:12:19 +0800
commit1de6962efb66ce5d5e587487e87edd75b9f8842c (patch)
tree005731076e93cb26f3cf903d7fa53d35298cd8b9 /scripts/android/after_success.sh
parent1a5e54e5ebcadef899159c6145f52ef9934dd473 (diff)
downloadsubsurface-1de6962efb66ce5d5e587487e87edd75b9f8842c.tar.gz
Dive pictures: connect DivePictureModel signals in constructor
The DivePictureModel signals were connected int the setProfileState() function of ProfileWidget2. If this function was called repeatedly (e.g. after adding a dive), multiple connections were made, which led to multiply delivered signals. This in turn led to confusion, when deleting pictures (i.e. multiple pictures were deleted). Instead, connect once in ProfileWidget2's constructor. It is unclear whether these signals should be disconnected temporarily if no pictures are shown. In any case, the weren't, so this shouldn't introduce any regression. Fixes #1441 Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'scripts/android/after_success.sh')
0 files changed, 0 insertions, 0 deletions