summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLorn Potter <[email protected]>2025-06-26 14:00:30 +1000
committerLorn Potter <[email protected]>2025-07-03 13:16:57 +1000
commitfa4e7b29a01a7cc9c6a058c5de56c4f8819f8b24 (patch)
tree338fbec6cc303ed08255a5ccefa10f5457e1af0a
parentdb5ce4540931fe635accc015540b10b102d7355e (diff)
wasm: Fix image captureHEADdev
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.cpp1
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