trim string titles
This commit is contained in:
parent
c3b6c9d16e
commit
05f6091111
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue