From 1b1bad423e7dff8ab9d53f95f987cb53666bae47 Mon Sep 17 00:00:00 2001 From: Nikolaj Schlej Date: Sat, 12 Dec 2015 22:37:45 +0100 Subject: [PATCH] Revert changes to parseUiSectionBody - surprisingly, this breaks too many things --- common/ffsparser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/ffsparser.cpp b/common/ffsparser.cpp index 47b0103..cf9f9bf 100644 --- a/common/ffsparser.cpp +++ b/common/ffsparser.cpp @@ -2550,7 +2550,7 @@ STATUS FfsParser::parseUiSectionBody(const QModelIndex & index) if (!index.isValid()) 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 model->addInfo(index, tr("\nText: %1").arg(text));