diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2018-06-30 13:52:06 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-07-03 01:55:47 +0800 |
commit | 37c6fe44e4839c226e9514887974f22fd86831e0 (patch) | |
tree | 7679c8eb68523f3f85defea8c6c4c5b454d8f832 /.gitignore | |
parent | 988d6682f201ac39796d4f351340783a6c59b053 (diff) | |
download | subsurface-37c6fe44e4839c226e9514887974f22fd86831e0.tar.gz |
Dive pictures: remove unnecessary check for no dives
This fixes a bug introduced in fbe1144eaf7e800a014c7a97b846835ba9f3bc7f:
For an empty log, in DivePictureModel::updateDivePictures()
beginResetModel() would be called without a corresponding endResetModel().
It is unclear whether this can ever be hit, because in the no-dives
case, at least in the desktop version no profile is shown.
Note, that this makes the check double-unnecessary.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions