Ensured trailing \n for info.txt

As requested in #53
This commit is contained in:
Nikolaj Schlej 2016-05-18 11:33:49 +02:00
parent 2d932da1f3
commit a73c535ca2

View File

@ -68,7 +68,7 @@ STATUS FfsDumper::recursiveDump(const QModelIndex & index, const QString & path,
file.close(); file.close();
} }
QString info = QObject::tr("Type: %1\nSubtype: %2\n%3%4") QString info = QObject::tr("Type: %1\nSubtype: %2\n%3%4\n")
.arg(itemTypeToQString(model->type(index))) .arg(itemTypeToQString(model->type(index)))
.arg(itemSubtypeToQString(model->type(index), model->subtype(index))) .arg(itemSubtypeToQString(model->type(index), model->subtype(index)))
.arg(model->text(index).isEmpty() ? QObject::tr("") : QObject::tr("Text: %1\n").arg(model->text(index))) .arg(model->text(index).isEmpty() ? QObject::tr("") : QObject::tr("Text: %1\n").arg(model->text(index)))