From 9a402ea68c60d67b8488d4fdb2586ce2b6ea36b7 Mon Sep 17 00:00:00 2001 From: kervala Date: Mon, 10 Oct 2016 18:53:39 +0200 Subject: [PATCH] Fixed: Create directory before trying to create a client.cfg --HG-- branch : develop --- code/ryzom/tools/client/ryzom_installer/src/profile.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/ryzom/tools/client/ryzom_installer/src/profile.cpp b/code/ryzom/tools/client/ryzom_installer/src/profile.cpp index 45800a203..79aa74b25 100644 --- a/code/ryzom/tools/client/ryzom_installer/src/profile.cpp +++ b/code/ryzom/tools/client/ryzom_installer/src/profile.cpp @@ -145,6 +145,9 @@ bool CProfile::createClientConfig() const QString directory = getDirectory(); QString filename = directory + "/client.cfg"; + // create directory + QDir().mkpath(directory); + const CServer &s = CConfigFile::getInstance()->getServer(server); // create the 2 initial lines of client.cfg