QrScannerPage: Prevent shadowing

This commit is contained in:
Tobias Fella
2026-02-06 13:57:20 +01:00
parent 513496cf85
commit 55676b06c2

View File

@@ -18,7 +18,7 @@ Kirigami.Page {
required property NeoChatConnection connection
padding: 0
Component.onCompleted: camera.start()
Component.onCompleted: session.camera.start()
Connections {
target: root.QQC2.ApplicationWindow.window
@@ -66,12 +66,8 @@ Kirigami.Page {
CaptureSession {
id: session
camera: Camera {
id: camera
}
imageCapture: ImageCapture {
id: imageCapture
}
camera: Camera {}
imageCapture: ImageCapture {}
videoOutput: viewFinder
}
}