mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-03-03 09:19:41 +00:00
the same for data-local entry
This commit is contained in:
parent
28b59f4008
commit
cb598f0455
1 changed files with 2 additions and 1 deletions
|
@ -69,7 +69,8 @@ void Launcher::GameSettings::validatePaths()
|
|||
return;
|
||||
|
||||
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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue