mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 17:10:47 +00:00
Assign the temp path properly when fetching it as a default
This commit is contained in:
@@ -89,7 +89,7 @@ QString CaptureContext::TempLogFilename(QString appname)
|
||||
QDir dir(folder);
|
||||
|
||||
if(folder == "" || !dir.exists())
|
||||
folder = QDir::tempPath();
|
||||
dir = QDir(QDir::tempPath());
|
||||
|
||||
return dir.absoluteFilePath(
|
||||
appname + "_" + QDateTime::currentDateTimeUtc().toString("yyyy.MM.dd_HH.mm.ss") + ".rdc");
|
||||
|
||||
Reference in New Issue
Block a user