mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 12:04:18 +02:00
CR feedback
This commit is contained in:
parent
f710afbfd1
commit
626fcb867b
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ ResourceRequest* ResourceManager::createResourceRequest(QObject* parent, const Q
|
|||
} else {
|
||||
// check the degenerative file case: on windows we can often have urls of the form c:/filename
|
||||
// this checks for and works around that case.
|
||||
QUrl urlWithFileScheme { QString(URL_SCHEME_FILE + ":///" + url.toString()) };
|
||||
QUrl urlWithFileScheme { URL_SCHEME_FILE + ":///" + url.toString() };
|
||||
if (!urlWithFileScheme.toLocalFile().isEmpty()) {
|
||||
return new FileResourceRequest(parent, urlWithFileScheme);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue