summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2008-06-25 22:25:52 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2008-06-25 22:25:52 +0000
commit37f37394c3dcbdc87c1f7e1c62e61eaf745e6ba2 (patch)
tree21a78f74061d1c9d299ed94f27dcfc1e5d15112e /rbutil/rbutilqt
parent19e5814ae290af5ccb294e86c948ab4640407a94 (diff)
downloadrockbox-37f37394c3dcbdc87c1f7e1c62e61eaf745e6ba2.tar.gz
rockbox-37f37394c3dcbdc87c1f7e1c62e61eaf745e6ba2.tar.bz2
rockbox-37f37394c3dcbdc87c1f7e1c62e61eaf745e6ba2.zip
trim whitespace from TTS error string before displaying it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17800 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/rbutilqt')
-rw-r--r--rbutil/rbutilqt/talkfile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/rbutil/rbutilqt/talkfile.cpp b/rbutil/rbutilqt/talkfile.cpp
index 37a584e28c..aff9957719 100644
--- a/rbutil/rbutilqt/talkfile.cpp
+++ b/rbutil/rbutilqt/talkfile.cpp
@@ -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;