diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-04-25 15:28:11 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-04-25 10:23:05 -0700 |
commit | 702d8c754dd8ad56f5a7dc88e466bc4ca8c65521 (patch) | |
tree | b1871a8da3b63f620eacd9e28c782ac4153673ca /desktop-widgets | |
parent | 9fae262188afc52eff971b9e81f9f6b61eef88a9 (diff) | |
download | subsurface-702d8c754dd8ad56f5a7dc88e466bc4ca8c65521.tar.gz |
desktop: remove selectionChangeDone() from DiveListView::selectDive()
This was erroneous, as it should only be called at the end of
a selection change, not after every single dive. It made selection
of multiple dives extremely slow.
Reported-by: Jan Mulder <jlmulder@xs4all.nl>
Debugged-by: Robert C. Helling <helling@atdotde.de>
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets')
-rw-r--r-- | desktop-widgets/divelistview.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/desktop-widgets/divelistview.cpp b/desktop-widgets/divelistview.cpp index bce8b2eb3..b83ff169b 100644 --- a/desktop-widgets/divelistview.cpp +++ b/desktop-widgets/divelistview.cpp @@ -322,7 +322,6 @@ void DiveListView::selectDive(int i) expand(idx.parent()); setAnimated(true); } - selectionChangeDone(); } void DiveListView::selectDives(const QList<int> &newDiveSelection) |