diff --git a/main.cpp b/main.cpp index dcbb12260..db5d29676 100644 --- a/main.cpp +++ b/main.cpp @@ -109,7 +109,7 @@ int main(int argc, char *argv[]) #if WSJT_QDEBUG_TO_FILE // // open a trace file - TraceFile trace_file {QDir {QApplication::applicationDirPath ()}.absoluteFilePath ("wsjtx_trace.log")}; + TraceFile trace_file {QDir {QStandardPaths::writableLocation (QStandardPaths::TempLocation)}.absoluteFilePath (a.applicationName () + "_trace.log")}; // announce to trace file qDebug () << program_title (revision ()) + " - Program startup";