diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-09-03 07:11:43 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-09-06 11:48:47 -0700 |
commit | 856fc357bc3c1db1c2d9fccf13022286d64aaeca (patch) | |
tree | 1dfd36a708de35c70db2d153c57d1c8aaa9404cd /tests/testparseperformance.cpp | |
parent | 7d2fe2b7c6d921bd7628cf1047266e7be9a0f2e4 (diff) | |
download | subsurface-856fc357bc3c1db1c2d9fccf13022286d64aaeca.tar.gz |
Map: remove unnecessary MapLocationModel::repopulateLabels() calls
The LocationInformationWidget repopulated the map labels if the name
or location of a site changed. This is unnecessary because the
MapLocationModel catches these signals itself. Remove these calls.
As an added bonus, calling repopulateLabels() in QML context leads
to crashes later on. Therefore this should fix at least one
crash condition when dragging a flag on the map while the
dive-site-edit-tab is shown.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'tests/testparseperformance.cpp')
0 files changed, 0 insertions, 0 deletions