summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2021-04-19 16:25:58 +0200
committerLars Knoll <lars.knoll@qt.io>2021-04-23 16:55:53 +0000
commite79f3a39f2ed6301cbbc48e62c10f674ed1e1348 (patch)
tree7d44aeba32278b7678c6449cd09b410513867885 /examples
parent7b28765dd0898e0638555e990308dc2fa09b79da (diff)
Fix qaudiobuffer and qaudiodecoder autotests
Fix one enum value in the public API to better reflect the error that is happening. Change-Id: I4a71d64c79d443eb6fa9068defb90f3b436ec194 Reviewed-by: André de la Rocha <andre.rocha@qt.io>
Diffstat (limited to 'examples')
-rw-r--r--examples/multimedia/audiodecoder/audiodecoder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/multimedia/audiodecoder/audiodecoder.cpp b/examples/multimedia/audiodecoder/audiodecoder.cpp
index 9b0faeade..09f40c711 100644
--- a/examples/multimedia/audiodecoder/audiodecoder.cpp
+++ b/examples/multimedia/audiodecoder/audiodecoder.cpp
@@ -146,7 +146,7 @@ void AudioDecoder::error(QAudioDecoder::Error error)
case QAudioDecoder::AccessDeniedError:
m_cout << "Access denied error\n";
break;
- case QAudioDecoder::ServiceMissingError:
+ case QAudioDecoder::NotSupportedError:
m_cout << "Service missing error\n";
break;
}