Mercurial > hg > svcore
diff data/fileio/FileSource.cpp @ 1743:7001b9570e37 by-id
Fix deprecation warning
author | Chris Cannam |
---|---|
date | Mon, 01 Jul 2019 14:16:12 +0100 |
parents | 70e172e6cc59 |
children |
line wrap: on
line diff
--- a/data/fileio/FileSource.cpp Fri Jun 28 17:36:30 2019 +0100 +++ b/data/fileio/FileSource.cpp Mon Jul 01 14:16:12 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;