diff --git a/StringParser.cpp b/StringParser.cpp index 001ccb6..115e584 100755 --- a/StringParser.cpp +++ b/StringParser.cpp @@ -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(); }