Commit a45f6fc3 authored by Kai Koehne's avatar Kai Koehne
Browse files

Keep order of scripts added to QWebEngineScriptCollection


Use a QList instead of a QSet to store the scripts in the collection.
This avoids situations where two scripts injected depend on each other,
and fail or succeed depending on the semi-random order that QSet imposes.

Change-Id: I44d5d89866ff2431544cc91afb1c102d93daa5da
Reviewed-by: default avatarAllan Sandfeld Jensen <allan.jensen@theqtcompany.com>
parent f681793c
Showing with 21 additions and 31 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment