Fixed: Create directory before trying to create a client.cfg

--HG--
branch : develop
feature/pipeline-tools
kervala 8 years ago
parent acdbbd63b3
commit 9a402ea68c

@ -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

Loading…
Cancel
Save