From a3d3ebc05b2a99401258654257e9c97670924037 Mon Sep 17 00:00:00 2001 From: dreamsourcelabTAI Date: Wed, 13 Jul 2022 16:34:52 +0800 Subject: [PATCH] fix: invalid log file path on windows --- DSView/pv/log.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DSView/pv/log.cpp b/DSView/pv/log.cpp index 75c38993..a5eb4bee 100644 --- a/DSView/pv/log.cpp +++ b/DSView/pv/log.cpp @@ -65,7 +65,7 @@ void dsv_log_enalbe_logfile() #ifdef Q_OS_LINUX lf = QDir::homePath() + "/DSView.log"; #else - lf = tmp + GetAppDataDir() + "/DSView.log"; + lf = GetAppDataDir() + "/DSView.log"; #endif dsv_info("%s\"%s\"", "store log to file: ", lf.toUtf8().data());