QrScannerPage: Prevent shadowing
This commit is contained in:
@@ -18,7 +18,7 @@ Kirigami.Page {
|
|||||||
required property NeoChatConnection connection
|
required property NeoChatConnection connection
|
||||||
padding: 0
|
padding: 0
|
||||||
|
|
||||||
Component.onCompleted: camera.start()
|
Component.onCompleted: session.camera.start()
|
||||||
|
|
||||||
Connections {
|
Connections {
|
||||||
target: root.QQC2.ApplicationWindow.window
|
target: root.QQC2.ApplicationWindow.window
|
||||||
@@ -66,12 +66,8 @@ Kirigami.Page {
|
|||||||
CaptureSession {
|
CaptureSession {
|
||||||
id: session
|
id: session
|
||||||
|
|
||||||
camera: Camera {
|
camera: Camera {}
|
||||||
id: camera
|
imageCapture: ImageCapture {}
|
||||||
}
|
|
||||||
imageCapture: ImageCapture {
|
|
||||||
id: imageCapture
|
|
||||||
}
|
|
||||||
videoOutput: viewFinder
|
videoOutput: viewFinder
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user