From 3b779322110878e7f1602c6b619e1245d626e2fd Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Thu, 15 Sep 2022 09:36:38 -0400 Subject: [PATCH] Use mkpath instead of mkdir when downloading patches --- launcher/core/src/patcher.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/launcher/core/src/patcher.cpp b/launcher/core/src/patcher.cpp index 3159870..bf3359f 100644 --- a/launcher/core/src/patcher.cpp +++ b/launcher/core/src/patcher.cpp @@ -71,7 +71,7 @@ void Patcher::processPatchList(QNetworkAccessManager& mgr, QString patchList) { QStandardPaths::writableLocation(QStandardPaths::AppDataLocation) + "/patches/" + repository; if (!QDir().exists(patchesDir)) - QDir().mkdir(patchesDir); + QDir().mkpath(patchesDir); if (!QFile::exists(patchesDir + "/" + name + ".patch")) { QNetworkRequest patchRequest(url);