diff options
| author | Christoph Berg <christoph.berg@credativ.de> | 2019-03-11 14:19:23 +0100 |
|---|---|---|
| committer | Christoph Berg <christoph.berg@credativ.de> | 2019-03-11 14:19:23 +0100 |
| commit | 200de07a95209a55d6019ba87f0abc78d302bf4c (patch) | |
| tree | 3b2922eb5d89b01ad214cae492e871c3bfb5df18 /soundout.cpp | |
| parent | e0737c56c1e384e05064a0c6e1ac46979371041b (diff) | |
New upstream version 2.0.1+repackupstream/2.0.1+repack
Diffstat (limited to 'soundout.cpp')
| -rw-r--r-- | soundout.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/soundout.cpp b/soundout.cpp index 944f04e4..a4f8800d 100644 --- a/soundout.cpp +++ b/soundout.cpp @@ -184,6 +184,12 @@ void SoundOutput::handleStateChanged (QAudio::State newState) Q_EMIT status (tr ("Suspended")); break; +#if QT_VERSION >= QT_VERSION_CHECK (5, 10, 0) + case QAudio::InterruptedState: + Q_EMIT status (tr ("Interrupted")); + break; +#endif + case QAudio::StoppedState: if (audioError ()) { |
