diff options
Diffstat (limited to 'rbutil/rbutilqt/base')
-rw-r--r-- | rbutil/rbutilqt/base/voicefile.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/rbutil/rbutilqt/base/voicefile.cpp b/rbutil/rbutilqt/base/voicefile.cpp index 2cc9f18c25..d5a3586e1b 100644 --- a/rbutil/rbutilqt/base/voicefile.cpp +++ b/rbutil/rbutilqt/base/voicefile.cpp | |||
@@ -160,8 +160,14 @@ void VoiceFileCreator::downloadDone(bool error) | |||
160 | QFile::copy(":/builtin/VOICE_PAUSE.wav",m_path + "/VOICE_PAUSE.wav"); | 160 | QFile::copy(":/builtin/VOICE_PAUSE.wav",m_path + "/VOICE_PAUSE.wav"); |
161 | entry.wavfilename = m_path + "/VOICE_PAUSE.wav"; | 161 | entry.wavfilename = m_path + "/VOICE_PAUSE.wav"; |
162 | entry.voiced = true; | 162 | entry.voiced = true; |
163 | m_talkList.append(entry); | ||
164 | } | ||
165 | else if(entry.toSpeak.isEmpty()) { | ||
166 | qDebug() << "[Voicefile] Empty voice string for ID" << id; | ||
167 | } | ||
168 | else { | ||
169 | m_talkList.append(entry); | ||
163 | } | 170 | } |
164 | m_talkList.append(entry); | ||
165 | idfound=false; | 171 | idfound=false; |
166 | voicefound=false; | 172 | voicefound=false; |
167 | } | 173 | } |