Skip to content

Fix playing of external audio files

Albert Astals Cid requested to merge work/aacid/fix_external_audioplayer into master

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

Merge request reports

Loading