Assign the temp path properly when fetching it as a default

This commit is contained in:
baldurk
2016-11-14 14:03:49 +01:00
parent 1ddac3da54
commit 893fa6d53b
+1 -1
View File
@@ -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");