diff options
author | Thorvald Natvig <slicer@users.sourceforge.net> | 2007-07-19 15:47:39 +0400 |
---|---|---|
committer | Thorvald Natvig <slicer@users.sourceforge.net> | 2007-07-19 15:47:39 +0400 |
commit | b3ac4e4d100df8846490fed6612bf094cb0d540e (patch) | |
tree | 64df04b4f478008ec2d57e982b25421e7182bbfd /src/mumble/TextToSpeech_unix.cpp | |
parent | 990f22073eb217133cb0aaffeeab0ae493cb8c48 (diff) |
Latin1 for Festival
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@629 05730e5d-ab1b-0410-a4ac-84af385074fa
Diffstat (limited to 'src/mumble/TextToSpeech_unix.cpp')
-rw-r--r-- | src/mumble/TextToSpeech_unix.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mumble/TextToSpeech_unix.cpp b/src/mumble/TextToSpeech_unix.cpp index a4e40e710..98d20def2 100644 --- a/src/mumble/TextToSpeech_unix.cpp +++ b/src/mumble/TextToSpeech_unix.cpp @@ -54,7 +54,7 @@ TextToSpeechPrivate::~TextToSpeechPrivate() { void TextToSpeechPrivate::say(QString text) { QTextDocument td; td.setHtml(text); - qpFestival.write(QString::fromLatin1("(SayText \"%1\")").arg(td.toPlainText().replace(QLatin1String("\""),QLatin1String("\\\""))).toUtf8()); + qpFestival.write(QString::fromLatin1("(SayText \"%1\")").arg(td.toPlainText().replace(QLatin1String("\""),QLatin1String("\\\""))).toLatin1()); } void TextToSpeechPrivate::setVolume(int) { |