summaryrefslogtreecommitdiff
path: root/soundin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'soundin.cpp')
-rw-r--r--soundin.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/soundin.cpp b/soundin.cpp
index 3da3bdd0..e08d4527 100644
--- a/soundin.cpp
+++ b/soundin.cpp
@@ -133,6 +133,12 @@ void SoundInput::handleStateChanged (QAudio::State newState) const
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 ())
{