mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-26 18:35:20 +00:00
Remove unused code
This commit is contained in:
parent
45fcea929a
commit
c04f6cf167
@ -30,17 +30,6 @@ ContentSelectorModel::ContentModel::~ContentModel()
|
|||||||
void ContentSelectorModel::ContentModel::setEncoding(const QString &encoding)
|
void ContentSelectorModel::ContentModel::setEncoding(const QString &encoding)
|
||||||
{
|
{
|
||||||
mEncoding = encoding;
|
mEncoding = encoding;
|
||||||
if (encoding == QLatin1String("win1252"))
|
|
||||||
mCodec = QTextCodec::codecForName("windows-1252");
|
|
||||||
|
|
||||||
else if (encoding == QLatin1String("win1251"))
|
|
||||||
mCodec = QTextCodec::codecForName("windows-1251");
|
|
||||||
|
|
||||||
else if (encoding == QLatin1String("win1250"))
|
|
||||||
mCodec = QTextCodec::codecForName("windows-1250");
|
|
||||||
|
|
||||||
else
|
|
||||||
return; // This should never happen;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int ContentSelectorModel::ContentModel::columnCount(const QModelIndex &parent) const
|
int ContentSelectorModel::ContentModel::columnCount(const QModelIndex &parent) const
|
||||||
|
@ -81,7 +81,6 @@ namespace ContentSelectorModel
|
|||||||
ContentFileList mFiles;
|
ContentFileList mFiles;
|
||||||
QHash<QString, Qt::CheckState> mCheckStates;
|
QHash<QString, Qt::CheckState> mCheckStates;
|
||||||
QSet<QString> mPluginsWithLoadOrderError;
|
QSet<QString> mPluginsWithLoadOrderError;
|
||||||
QTextCodec *mCodec;
|
|
||||||
QString mEncoding;
|
QString mEncoding;
|
||||||
QIcon mWarningIcon;
|
QIcon mWarningIcon;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user