rbutil: fix festival tts handling.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22477 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dominik Wenger 2009-08-23 18:02:44 +00:00
parent ccb6990ad5
commit 139127217a

View file

@ -504,7 +504,7 @@ TTSStatus TTSFestival::voice(QString text, QString wavfile, QString* errStr)
bool TTSFestival::configOk()
{
QString serverPath = RbSettings::subValue("festival-server",RbSettings::TtsPath).toString();
QString clientPath = RbSettings::subValue("festival-client",RbSettings::TtsVoice).toString();
QString clientPath = RbSettings::subValue("festival-client",RbSettings::TtsPath).toString();
bool ret = QFileInfo(serverPath).isExecutable() &&
QFileInfo(clientPath).isExecutable();