Skip to content

QQmlImportDatabase: Make sure the newly added import path be first

Nicolas Fella requested to merge (removed):work/nico/import-fix into kde/5.15

If it already exists in the import list, move it to the first place. This is as per the description of QQmlEngine::addImportPath: | The newly added path will be first in the importPathList().

Change-Id: I782d355c46ada2a46cff72e63326208f39028e01 Reviewed-by: Ulf Hermann ulf.hermann@qt.io (cherry picked from commit 3e413803)

Merge request reports

Loading