mirror of
https://github.com/OpenMW/openmw.git
synced 2025-06-19 17:11:33 +00:00
Typo
This commit is contained in:
parent
b596902329
commit
7640b6bcf4
3 changed files with 4 additions and 4 deletions
|
@ -301,7 +301,7 @@ void Launcher::DataFilesPage::populateFileViews(const QString& contentModelName)
|
||||||
[&](const Config::SettingValue& dir) { return mGameSettings.isUserSetting(dir); }),
|
[&](const Config::SettingValue& dir) { return mGameSettings.isUserSetting(dir); }),
|
||||||
directories.end());
|
directories.end());
|
||||||
for (const auto& dir : contentModelDirectories)
|
for (const auto& dir : contentModelDirectories)
|
||||||
directories.push_back(mGameSettings.procesPathSettingValue({ dir }));
|
directories.push_back(mGameSettings.processPathSettingValue({ dir }));
|
||||||
}
|
}
|
||||||
|
|
||||||
mDataLocal = mGameSettings.getDataLocal();
|
mDataLocal = mGameSettings.getDataLocal();
|
||||||
|
|
|
@ -178,7 +178,7 @@ bool Config::GameSettings::readFile(
|
||||||
value.originalRepresentation = value.value;
|
value.originalRepresentation = value.value;
|
||||||
}
|
}
|
||||||
|
|
||||||
value = procesPathSettingValue(value);
|
value = processPathSettingValue(value);
|
||||||
}
|
}
|
||||||
if (ignoreContent && (key == QLatin1String("content") || key == QLatin1String("data")))
|
if (ignoreContent && (key == QLatin1String("content") || key == QLatin1String("data")))
|
||||||
continue;
|
continue;
|
||||||
|
@ -586,7 +586,7 @@ bool Config::GameSettings::isUserSetting(const SettingValue& settingValue) const
|
||||||
return settingValue.context.isEmpty() || settingValue.context == getUserContext();
|
return settingValue.context.isEmpty() || settingValue.context == getUserContext();
|
||||||
}
|
}
|
||||||
|
|
||||||
Config::SettingValue Config::GameSettings::procesPathSettingValue(const SettingValue& value)
|
Config::SettingValue Config::GameSettings::processPathSettingValue(const SettingValue& value)
|
||||||
{
|
{
|
||||||
std::filesystem::path path = Files::pathFromQString(value.value);
|
std::filesystem::path path = Files::pathFromQString(value.value);
|
||||||
std::filesystem::path basePath = Files::pathFromQString(value.context.isEmpty() ? getUserContext() : value.context);
|
std::filesystem::path basePath = Files::pathFromQString(value.context.isEmpty() ? getUserContext() : value.context);
|
||||||
|
|
|
@ -118,7 +118,7 @@ namespace Config
|
||||||
const QString& getUserContext() const { return mContexts.back(); }
|
const QString& getUserContext() const { return mContexts.back(); }
|
||||||
bool isUserSetting(const SettingValue& settingValue) const;
|
bool isUserSetting(const SettingValue& settingValue) const;
|
||||||
|
|
||||||
SettingValue procesPathSettingValue(const SettingValue& value);
|
SettingValue processPathSettingValue(const SettingValue& value);
|
||||||
|
|
||||||
void clear();
|
void clear();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue