the same for data-local entry

deque
greye 11 years ago
parent 28b59f4008
commit cb598f0455

@ -69,7 +69,8 @@ void Launcher::GameSettings::validatePaths()
return; return;
dataDirs.clear(); dataDirs.clear();
dataDirs.push_back(Files::PathContainer::value_type(local.toStdString())); QByteArray bytes = local.toUtf8();
dataDirs.push_back(Files::PathContainer::value_type(std::string(bytes.constData(), bytes.length())));
mCfgMgr.processPaths(dataDirs); mCfgMgr.processPaths(dataDirs);

Loading…
Cancel
Save