|
|
|
@ -272,7 +272,7 @@ void DataFilesModel::addMasters(const QString &path)
|
|
|
|
|
foreach (const QString &path, dir.entryList()) {
|
|
|
|
|
try {
|
|
|
|
|
ESM::ESMReader fileReader;
|
|
|
|
|
fileReader.setEncoding(ToUTF8::CalculateEncoding(mEncoding.toStdString()));
|
|
|
|
|
fileReader.setEncoding(ToUTF8::calculateEncoding(mEncoding.toStdString()));
|
|
|
|
|
fileReader.open(dir.absoluteFilePath(path).toStdString());
|
|
|
|
|
|
|
|
|
|
ESM::ESMReader::MasterList mlist = fileReader.getMasters();
|
|
|
|
@ -335,7 +335,7 @@ void DataFilesModel::addPlugins(const QString &path)
|
|
|
|
|
|
|
|
|
|
try {
|
|
|
|
|
ESM::ESMReader fileReader;
|
|
|
|
|
fileReader.setEncoding(ToUTF8::CalculateEncoding(mEncoding.toStdString()));
|
|
|
|
|
fileReader.setEncoding(ToUTF8::calculateEncoding(mEncoding.toStdString()));
|
|
|
|
|
fileReader.open(dir.absoluteFilePath(path).toStdString());
|
|
|
|
|
|
|
|
|
|
ESM::ESMReader::MasterList mlist = fileReader.getMasters();
|
|
|
|
|