add filename rename somehow missed in previous commit

This commit is contained in:
Stephen Birarda 2015-09-04 12:43:43 -06:00
parent 3875a7d881
commit 875d10575f

View file

@ -18,8 +18,8 @@ void FileResourceRequest::doSend() {
// sometimes on windows, we see the toLocalFile() return null,
// in this case we will attempt to simply use the url as a string
if (fileName.isEmpty()) {
fileName = _url.toString();
if (filename.isEmpty()) {
filename = _url.toString();
}
QFile file(filename);