sampleformat: fixed erroneous constant
This commit is contained in:
@@ -42,7 +42,7 @@
|
||||
OLIVE_NAMESPACE_ENTER
|
||||
|
||||
void crash_handler(int sig) {
|
||||
QString log_path = QDir(FileFunctions::GetTempPath()).filePath(QStringLiteral("olive_crash"));
|
||||
QString log_path = QDir(FileFunctions::GetTempFilePath()).filePath(QStringLiteral("olive_crash"));
|
||||
QFile output(log_path);
|
||||
|
||||
output.open(QFile::WriteOnly);
|
||||
|
||||
@@ -98,7 +98,7 @@ QString FileFunctions::GetApplicationPath()
|
||||
return QCoreApplication::applicationDirPath();
|
||||
}
|
||||
|
||||
QString FileFunctions::GetTempPath()
|
||||
QString FileFunctions::GetTempFilePath()
|
||||
{
|
||||
QString temp_path = QDir(QDir(QStandardPaths::writableLocation(QStandardPaths::TempLocation))
|
||||
.filePath(QCoreApplication::organizationName()))
|
||||
|
||||
@@ -52,7 +52,7 @@ public:
|
||||
|
||||
static QString GetApplicationPath();
|
||||
|
||||
static QString GetTempPath();
|
||||
static QString GetTempFilePath();
|
||||
|
||||
static void CopyDirectory(const QString& source, const QString& dest);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user