|
|
@ -493,8 +493,10 @@ bool Config::GameSettings::hasMaster()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
bool result = false;
|
|
|
|
bool result = false;
|
|
|
|
QStringList content = mSettings.values(QString(Config::GameSettings::sContentKey));
|
|
|
|
QStringList content = mSettings.values(QString(Config::GameSettings::sContentKey));
|
|
|
|
for (int i = 0; i < content.count(); ++i) {
|
|
|
|
for (int i = 0; i < content.count(); ++i)
|
|
|
|
if (content.at(i).contains(".omwgame") || content.at(i).contains(".esm")) {
|
|
|
|
{
|
|
|
|
|
|
|
|
if (content.at(i).endsWith(QLatin1String(".omwgame"), Qt::CaseInsensitive) || content.at(i).endsWith(QLatin1String(".esm"), Qt::CaseInsensitive))
|
|
|
|
|
|
|
|
{
|
|
|
|
result = true;
|
|
|
|
result = true;
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|