use cache location instead of temp location for ocio extraction

Workaround for Linux not having a user-specific temp directory, causing
potential permission issues if more than one user is accessing the extraction.

Fixes #1239.
This commit is contained in:
itsmattkc
2020-09-28 04:53:17 +10:00
parent 79d8b95f4e
commit a82e2d5ae5
+1 -1
View File
@@ -73,7 +73,7 @@ QString FileFunctions::GetApplicationPath()
QString FileFunctions::GetTempFilePath()
{
QString temp_path = QDir(QDir(QStandardPaths::writableLocation(QStandardPaths::TempLocation))
QString temp_path = QDir(QDir(QStandardPaths::writableLocation(QStandardPaths::CacheLocation))
.filePath(QCoreApplication::organizationName()))
.filePath(QCoreApplication::applicationName());