Mercurial > hg > svcore
changeset 1743:7001b9570e37 by-id
Fix deprecation warning
author | Chris Cannam |
---|---|
date | Mon, 01 Jul 2019 14:16:12 +0100 |
parents | 52705a328b34 |
children | b92bdcd4954b |
files | data/fileio/FileSource.cpp |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
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;