This amends commit a0bcad39033bddd9b9d14a524b829513105913d3. Delayed signals emitted by the previous commit may have invalid parameters if the source model was updated several times before entering the event loop. This commit fixes that by evaluating the section range immediately before emitting the signal. This commit also ensures that the signal is emitted only once after entering the event loop. Fixes: QTBUG-119155 Pick-to: 6.5 Change-Id: I9e84703cca26fde8464a6b9a414bb7462cbb9abd Reviewed-by: David Faure <david.faure@kdab.com> (cherry picked from commit 734354c0bae543795222a47cca2a013352d49745) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit f77af7014848d1ebba96a932b4b836efd963582f)
…
…
Description
Languages
C++
84.3%
HTML
4.9%
C
3.9%
CMake
3.6%
Objective-C++
2%
Other
0.8%