CR feedback

This commit is contained in:
Brad Hefta-Gaub 2015-09-09 17:27:39 -07:00
parent f710afbfd1
commit 626fcb867b

View file

@ -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);
}