mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 16:41:02 +02:00
add filename rename somehow missed in previous commit
This commit is contained in:
parent
3875a7d881
commit
875d10575f
1 changed files with 2 additions and 2 deletions
|
@ -18,8 +18,8 @@ void FileResourceRequest::doSend() {
|
||||||
|
|
||||||
// sometimes on windows, we see the toLocalFile() return null,
|
// sometimes on windows, we see the toLocalFile() return null,
|
||||||
// in this case we will attempt to simply use the url as a string
|
// in this case we will attempt to simply use the url as a string
|
||||||
if (fileName.isEmpty()) {
|
if (filename.isEmpty()) {
|
||||||
fileName = _url.toString();
|
filename = _url.toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
QFile file(filename);
|
QFile file(filename);
|
||||||
|
|
Loading…
Reference in a new issue