From 5a063bd9c82c655af3fcbce0a386efc348efe749 Mon Sep 17 00:00:00 2001 From: Alexander Yee Date: Fri, 29 Nov 2024 12:14:41 -0800 Subject: [PATCH] Fix recursive paths not being made. --- .../Source/CommonFramework/ErrorReports/ErrorReports.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SerialPrograms/Source/CommonFramework/ErrorReports/ErrorReports.cpp b/SerialPrograms/Source/CommonFramework/ErrorReports/ErrorReports.cpp index bde8e1137..d790b4357 100644 --- a/SerialPrograms/Source/CommonFramework/ErrorReports/ErrorReports.cpp +++ b/SerialPrograms/Source/CommonFramework/ErrorReports/ErrorReports.cpp @@ -91,7 +91,7 @@ SendableErrorReport::SendableErrorReport() : PROGRAM_NAME + " (" + PROGRAM_VERSION + ")" ) { - QDir().mkdir(QString::fromStdString(m_directory)); + QDir().mkpath(QString::fromStdString(m_directory)); } SendableErrorReport::SendableErrorReport( Logger* logger,