Looping over the entries had a typo in it and was quite unnecessary, as it just made a fresh copy of a list we already had. Change-Id: I0f3023b06163e5854d425d816e465785cda5fc91 Reviewed-by: Marc Mutz <marc.mutz@qt.io> (cherry picked from commit 07e4015687c52ded043345605b7c9426f1424c77) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>