summaryrefslogtreecommitdiffstats
path: root/subsurface-mobile-main.cpp
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-09-21 14:30:04 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-09-21 16:07:24 -0700
commit4b401eb2def0b90dd3958aa114d18621a14b7b9d (patch)
tree8c2d0336f8971e104a785a0f82baa444e3d537aa /subsurface-mobile-main.cpp
parent44a291a09f06733ff84dc99d532351d6cbc927c6 (diff)
downloadsubsurface-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 'subsurface-mobile-main.cpp')
0 files changed, 0 insertions, 0 deletions