From a82e2d5ae52dc777e4ebb651ea76228b1ec10de0 Mon Sep 17 00:00:00 2001 From: itsmattkc Date: Mon, 28 Sep 2020 04:53:17 +1000 Subject: [PATCH] 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. --- app/common/filefunctions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/common/filefunctions.cpp b/app/common/filefunctions.cpp index f087dd90b..e137de3e8 100644 --- a/app/common/filefunctions.cpp +++ b/app/common/filefunctions.cpp @@ -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());