mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-06 00:55:50 +00:00
the same for data-local entry
This commit is contained in:
parent
28b59f4008
commit
cb598f0455
@ -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 New Issue
Block a user