trim string titles

This commit is contained in:
Rafael 2016-04-01 01:56:36 +02:00
parent c3b6c9d16e
commit 05f6091111

View file

@ -30,5 +30,5 @@ StringParser::StringParser()
QString StringParser::parseTitleString(QByteArray commitBytes, int maxLength)
{
Q_UNUSED(maxLength)
return QTextCodec::codecForName("UTF-16LE")->toUnicode(commitBytes);
return QTextCodec::codecForName("UTF-16LE")->toUnicode(commitBytes).trimmed();
}