|
|
@ -65,7 +65,8 @@ QByteArray ContentSelectorModel::EsmFile::encodedData() const
|
|
|
|
bool ContentSelectorModel::EsmFile::isGameFile() const
|
|
|
|
bool ContentSelectorModel::EsmFile::isGameFile() const
|
|
|
|
{
|
|
|
|
{
|
|
|
|
return (mGameFiles.size() == 0) &&
|
|
|
|
return (mGameFiles.size() == 0) &&
|
|
|
|
(mFileName.endsWith(QLatin1String(".esm")) || mFileName.endsWith(QLatin1String(".omwgame")));
|
|
|
|
(mFileName.endsWith(QLatin1String(".esm"), Qt::CaseInsensitive) ||
|
|
|
|
|
|
|
|
mFileName.endsWith(QLatin1String(".omwgame"), Qt::CaseInsensitive));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
QVariant ContentSelectorModel::EsmFile::fileProperty(const FileProperty prop) const
|
|
|
|
QVariant ContentSelectorModel::EsmFile::fileProperty(const FileProperty prop) const
|
|
|
|