Don't create a QString for every char in decodeLine
PlainTextDecoder::decodeLine() was creating a new QString via QString::fromUcs4() for every character. Instead, accumulate the characters in a QVector<uint>, and call QString::fromUcs4() once at the end of the function.
parent
5067aeca