Skip to content
Commit b435937e authored by Albert Astals Cid's avatar Albert Astals Cid
Browse files

Fix playing of external audio files

QUrl::fromUserInput().isRelative() returns false for things like "sound.ogg"
because it converts it to http://sound.ogg

So we use the variant where we give it the document folder, this way if
the file exists returns the local file.

For full urls we get the full url with this second variant so all should
be good

(cherry picked from commit 0a3f4a78)
parent 8c388fdd
Pipeline #453561 passed with stage
in 7 minutes and 26 seconds
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