trim whitespace from TTS error string before displaying it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17800 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
19e5814ae2
commit
37f37394c3
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ bool TalkFileCreator::createTalkFiles(ProgressloggerInterface* logger)
|
|||
QString errStr;
|
||||
if(!m_tts->start(&errStr))
|
||||
{
|
||||
m_logger->addItem(errStr,LOGERROR);
|
||||
m_logger->addItem(errStr.trimmed(),LOGERROR);
|
||||
m_logger->addItem(tr("Init of TTS engine failed"),LOGERROR);
|
||||
m_logger->abort();
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue