diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-09-21 14:30:04 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-09-21 16:07:24 -0700 |
commit | 4b401eb2def0b90dd3958aa114d18621a14b7b9d (patch) | |
tree | 8c2d0336f8971e104a785a0f82baa444e3d537aa /subsurfacelatextemplate.tex | |
parent | 44a291a09f06733ff84dc99d532351d6cbc927c6 (diff) | |
download | subsurface-4b401eb2def0b90dd3958aa114d18621a14b7b9d.tar.gz |
Cleanup: return each dive site only once in selectedDiveSites()
In TabDiveSite::selectedDiveSites(), the QItemSelectionModel::
selectedIndexes() function was used. Thus for every selected
dive site 8 entries were added to the return-vector!
Instead, use the QItemSelectionModel::selectedRows() function.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'subsurfacelatextemplate.tex')
0 files changed, 0 insertions, 0 deletions