From 200de07a95209a55d6019ba87f0abc78d302bf4c Mon Sep 17 00:00:00 2001 From: Christoph Berg Date: Mon, 11 Mar 2019 14:19:23 +0100 Subject: New upstream version 2.0.1+repack --- soundout.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'soundout.cpp') 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 ()) { -- cgit v1.2.3