From 702d8c754dd8ad56f5a7dc88e466bc4ca8c65521 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Sat, 25 Apr 2020 15:28:11 +0200 Subject: 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 Debugged-by: Robert C. Helling Signed-off-by: Berthold Stoeger --- desktop-widgets/divelistview.cpp | 1 - 1 file changed, 1 deletion(-) 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 &newDiveSelection) -- cgit v1.2.3-70-g09d2