Fix info extension

This commit is contained in:
vit9696 2018-06-13 21:58:26 +03:00
parent c70d448056
commit aee2831b25

View File

@ -106,7 +106,7 @@ USTATUS FfsDumper::recursiveDump(const QModelIndex & index, const QString & path
if (counter == 0) if (counter == 0)
file.setFileName(QObject::tr("%1/info.txt").arg(path)); file.setFileName(QObject::tr("%1/info.txt").arg(path));
else else
file.setFileName(QObject::tr("%1/info_%2.bin").arg(path).arg(counter)); file.setFileName(QObject::tr("%1/info_%2.txt").arg(path).arg(counter));
counter++; counter++;
if (!file.open(QFile::Text | QFile::WriteOnly)) if (!file.open(QFile::Text | QFile::WriteOnly))
return U_FILE_OPEN; return U_FILE_OPEN;