diff data/fileio/FileSource.cpp @ 1766:85b9b466a59f

Merge from branch by-id
author Chris Cannam
date Wed, 17 Jul 2019 14:24:51 +0100
parents 7001b9570e37
children
line wrap: on
line diff
--- a/data/fileio/FileSource.cpp	Thu Jun 20 14:58:20 2019 +0100
+++ b/data/fileio/FileSource.cpp	Wed Jul 17 14:24:51 2019 +0100
@@ -883,7 +883,8 @@
 
     QDir dir;
     try {
-        dir = TempDirectory::getInstance()->getSubDirectoryPath("download");
+        dir.setPath(TempDirectory::getInstance()->
+                    getSubDirectoryPath("download"));
     } catch (const DirectoryCreationFailed &f) {
 #ifdef DEBUG_FILE_SOURCE
         cerr << "FileSource::createCacheFile: ERROR: Failed to create temporary directory: " << f.what() << endl;