From 912df8daada72c223706ae3654ffda876d1676ab 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 --- 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