mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 16:53:16 +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 {
|
} else {
|
||||||
// check the degenerative file case: on windows we can often have urls of the form c:/filename
|
// 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.
|
// 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()) {
|
if (!urlWithFileScheme.toLocalFile().isEmpty()) {
|
||||||
return new FileResourceRequest(parent, urlWithFileScheme);
|
return new FileResourceRequest(parent, urlWithFileScheme);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue