2
0
forked from Ivasoft/DSView

fix: invalid log file path on windows

This commit is contained in:
dreamsourcelabTAI
2022-07-13 16:34:52 +08:00
parent 8a06975012
commit a3d3ebc05b

View File

@@ -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());