mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 16:55:07 +02:00
truncate filename for relative path URL in RR
This commit is contained in:
parent
100ac65975
commit
a59103aad5
1 changed files with 3 additions and 0 deletions
|
@ -94,6 +94,9 @@ void AssetResourceRequest::requestMappingForPath(const AssetPath& path) {
|
|||
// if we got a redirected path we need to store that with the resource request as relative path URL
|
||||
if (request->wasRedirected()) {
|
||||
_relativePathURL = ATP_SCHEME + request->getRedirectedPath();
|
||||
|
||||
// truncate the filename for the re-directed asset so we actually have a path
|
||||
_relativePathURL = _relativePathURL.adjusted(QUrl::RemoveFilename);
|
||||
}
|
||||
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue