summaryrefslogtreecommitdiff
path: root/soundout.cpp
diff options
context:
space:
mode:
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 ())
{