diff options
author | David Faure <david.faure@kdab.com> | 2016-08-04 14:16:05 +0200 |
---|---|---|
committer | Yoann Lopes <yoann.lopes@qt.io> | 2016-08-04 12:24:01 +0000 |
commit | 5b9384336c696ed13db8b1077b847bce012c95ef (patch) | |
tree | 36cde1fa5334c8de876c70f86e11d0613216632f /tests | |
parent | d7d31d63db5f0029a4a5e24d998601baee8bade0 (diff) |
QPlaylistFileParser: fix QUrl::resolved+QUrl::fromLocalFile misuse
QUrl::resolved can be used to resolve relative paths, but not by
passing them via QUrl::fromLocalFile (8a33077 in qtbase made QUrl
more strict). To resolve both relative and absolute local paths
against a local directory, QUrl::fromUserInput(3 args) does the job.
Change-Id: Ifc01bbd590978f939f9538e70d12f2f3704d7b5d
Reviewed-by: Yoann Lopes <yoann.lopes@qt.io>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions