Mercurial > hg > svcore
comparison data/fileio/FileSource.cpp @ 1527:710e6250a401 zoom
Merge from default branch
author | Chris Cannam |
---|---|
date | Mon, 17 Sep 2018 13:51:14 +0100 |
parents | cee1be4fb8c1 |
children | 70e172e6cc59 |
comparison
equal
deleted
inserted
replaced
1324:d4a28d1479a8 | 1527:710e6250a401 |
---|---|
882 } | 882 } |
883 | 883 |
884 QDir dir; | 884 QDir dir; |
885 try { | 885 try { |
886 dir = TempDirectory::getInstance()->getSubDirectoryPath("download"); | 886 dir = TempDirectory::getInstance()->getSubDirectoryPath("download"); |
887 } catch (DirectoryCreationFailed f) { | 887 } catch (const DirectoryCreationFailed &f) { |
888 #ifdef DEBUG_FILE_SOURCE | 888 #ifdef DEBUG_FILE_SOURCE |
889 cerr << "FileSource::createCacheFile: ERROR: Failed to create temporary directory: " << f.what() << endl; | 889 cerr << "FileSource::createCacheFile: ERROR: Failed to create temporary directory: " << f.what() << endl; |
890 #endif | 890 #endif |
891 return false; | 891 return false; |
892 } | 892 } |