summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWildemann Stefan <stefan.wildemann@corpuls.com>2019-06-18 11:41:21 +0200
committerWildemann Stefan <stefan.wildemann@corpuls.com>2019-06-18 11:41:21 +0200
commit1b9b6aaf4828fbd84b3f2b38e52c79e677177f46 (patch)
tree739be18065644db2bfd1abc84a9d0f155a482a79
parent708ce0ea38e99c5329e9c6d89b783a9f1c6701cd (diff)
downloadnavit-remove_qt5_moc_includes.tar.gz
Remove QAudio::interruptedState againremove_qt5_moc_includes
Sailfish version of QT doesn't feature this yet.
-rw-r--r--navit/speech/qt5_espeak/Qt5EspeakAudioOut.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/navit/speech/qt5_espeak/Qt5EspeakAudioOut.cpp b/navit/speech/qt5_espeak/Qt5EspeakAudioOut.cpp
index fe88d6c04..f8f8339eb 100644
--- a/navit/speech/qt5_espeak/Qt5EspeakAudioOut.cpp
+++ b/navit/speech/qt5_espeak/Qt5EspeakAudioOut.cpp
@@ -81,8 +81,9 @@ void Qt5EspeakAudioOut::handleStateChanged(QAudio::State newState) {
break;
case QAudio::StoppedState:
break;
- case QAudio::InterruptedState:
- break;
+// Sailfish's QT version doesn't have this. Doesn't do anything either.
+// case QAudio::InterruptedState:
+// break;
case QAudio::IdleState:
/*remove all data that was already read*/
data->remove(0, buffer->pos());