Revert changes to parseUiSectionBody

- surprisingly, this breaks too many things
This commit is contained in:
Nikolaj Schlej 2015-12-12 22:37:45 +01:00
parent 12fe8bf29c
commit 1b1bad423e

View File

@ -2550,7 +2550,7 @@ STATUS FfsParser::parseUiSectionBody(const QModelIndex & index)
if (!index.isValid()) if (!index.isValid())
return ERR_INVALID_PARAMETER; return ERR_INVALID_PARAMETER;
QString text = QString::fromUtf16((const ushort*)model->body(index).constData(), model->body(index).size()/2); QString text = QString::fromUtf16((const ushort*)model->body(index).constData());
// Add info // Add info
model->addInfo(index, tr("\nText: %1").arg(text)); model->addInfo(index, tr("\nText: %1").arg(text));