Skip to content
Commit b11f6533 authored by Luis Javier Merino's avatar Luis Javier Merino Committed by Tomaz Canabrava
Browse files

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
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment