diff options
author | Stefan Wildemann <metalstrolch@users.noreply.github.com> | 2019-06-18 13:37:12 +0200 |
---|---|---|
committer | jkoan <jkoan@users.noreply.github.com> | 2019-06-18 13:37:12 +0200 |
commit | 976ab4b79860626077a266f90261da257c959efc (patch) | |
tree | 5d848d660b7ddc33c2917f2369e89a681e3c35d0 /navit/speech | |
parent | 3974cb7e4821b4e131cd677fd609433a05c453b3 (diff) | |
download | navit-976ab4b79860626077a266f90261da257c959efc.tar.gz |
fix:graphics:qt5: Remove unnecessary moc includes. (#798)
* Remove unnecessary moc includes.
This commit removes moc file includes for some classes which do not
define new qt classes. This caused a long standing warning which seems
to be treated as error on some setups.
* Make (in)sanity check happy.
Here you got your bloody spaces. Uber picky, isn't it?
* Remove QAudio::interruptedState again
Sailfish version of QT doesn't feature this yet.
Diffstat (limited to 'navit/speech')
-rw-r--r-- | navit/speech/qt5_espeak/Qt5EspeakAudioOut.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/navit/speech/qt5_espeak/Qt5EspeakAudioOut.cpp b/navit/speech/qt5_espeak/Qt5EspeakAudioOut.cpp index a5e488391..f8f8339eb 100644 --- a/navit/speech/qt5_espeak/Qt5EspeakAudioOut.cpp +++ b/navit/speech/qt5_espeak/Qt5EspeakAudioOut.cpp @@ -81,6 +81,9 @@ void Qt5EspeakAudioOut::handleStateChanged(QAudio::State newState) { break; case QAudio::StoppedState: 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()); |