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:
@@ -73,7 +73,7 @@ QString FileFunctions::GetApplicationPath()
|
|||||||
|
|
||||||
QString FileFunctions::GetTempFilePath()
|
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::organizationName()))
|
||||||
.filePath(QCoreApplication::applicationName());
|
.filePath(QCoreApplication::applicationName());
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user