diff options
author | Lorn Potter <[email protected]> | 2025-06-26 14:00:30 +1000 |
---|---|---|
committer | Lorn Potter <[email protected]> | 2025-07-03 13:16:57 +1000 |
commit | fa4e7b29a01a7cc9c6a058c5de56c4f8819f8b24 (patch) | |
tree | 338fbec6cc303ed08255a5ccefa10f5457e1af0a | |
parent | db5ce4540931fe635accc015540b10b102d7355e (diff) |
Make sure to set image capture ready.
Pick-to: 6.10
Change-Id: I69c96683788aa7b9cf6982e5f0f12d86361bd9ce
Reviewed-by: Tim Blechmann <[email protected]>
-rw-r--r-- | src/plugins/multimedia/wasm/mediacapture/qwasmimagecapture.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/multimedia/wasm/mediacapture/qwasmimagecapture.cpp b/src/plugins/multimedia/wasm/mediacapture/qwasmimagecapture.cpp index a11804625..08ce43067 100644 --- a/src/plugins/multimedia/wasm/mediacapture/qwasmimagecapture.cpp +++ b/src/plugins/multimedia/wasm/mediacapture/qwasmimagecapture.cpp @@ -130,6 +130,7 @@ void QWasmImageCapture::setCaptureSession(QPlatformMediaCaptureSession *session) m_captureSession = captureSession; } m_captureSession = captureSession; + setReadyForCapture(captureSession != nullptr); } QT_END_NAMESPACE |