mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-30 03:32:36 +00:00
data-local is already unquoted when it's read
This commit is contained in:
parent
dbdecfe94b
commit
7d28788aee
@ -47,11 +47,6 @@ void Config::GameSettings::validatePaths()
|
|||||||
|
|
||||||
// Do the same for data-local
|
// Do the same for data-local
|
||||||
QString local = mSettings.value(QString("data-local"));
|
QString local = mSettings.value(QString("data-local"));
|
||||||
if (local.length() && local.at(0) == QChar('\"'))
|
|
||||||
{
|
|
||||||
local.remove(0, 1);
|
|
||||||
local.chop(1);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (local.isEmpty())
|
if (local.isEmpty())
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user