summaryrefslogtreecommitdiff
path: root/soundout.cpp
diff options
context:
space:
mode:
authorChristoph Berg <christoph.berg@credativ.de>2019-03-11 14:21:27 +0100
committerChristoph Berg <christoph.berg@credativ.de>2019-03-11 14:21:27 +0100
commit8c76e27e9f157f37e1f3c930f76c2522d25ff091 (patch)
treec5dab105e64c191047793997c869773db020c6ec /soundout.cpp
parentfa2daec5ce5510e373c53b987fa4b21a310987f6 (diff)
parent200de07a95209a55d6019ba87f0abc78d302bf4c (diff)
Update upstream source from tag 'upstream/2.0.1+repack'
Update to upstream version '2.0.1+repack' with Debian dir f7e347d4250c45b22e01a489f197c55fb378ba9c
Diffstat (limited to 'soundout.cpp')
-rw-r--r--soundout.cpp6
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 ())
{