From d0ac13173baeab31bfe19c88c3d6e479f533d656 Mon Sep 17 00:00:00 2001 From: Igor Sirotin Date: Mon, 6 Feb 2023 19:33:08 +0300 Subject: [PATCH] Comments fixes --- .../src/StatusQ/Components/StatusQrCodeScanner.qml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/ui/StatusQ/src/StatusQ/Components/StatusQrCodeScanner.qml b/ui/StatusQ/src/StatusQ/Components/StatusQrCodeScanner.qml index b0b186ae302..efa9be1f135 100644 --- a/ui/StatusQ/src/StatusQ/Components/StatusQrCodeScanner.qml +++ b/ui/StatusQ/src/StatusQ/Components/StatusQrCodeScanner.qml @@ -42,9 +42,6 @@ Item { focusMode: CameraFocus.FocusContinuous focusPointMode: CameraFocus.FocusPointAuto } - onDeviceIdChanged: { - console.log("<<< deviceId =", deviceId) - } } Rectangle { @@ -116,8 +113,7 @@ Item { // The second switch doesn't work and behaves different with 2 approaches: // With standard `ComboBox` it throws an exception. // Width `StatusComboBox` it just kinda unbinds from the Camera. - - + // // ComboBox { // id: cameraComboBox @@ -156,15 +152,13 @@ Item { // } // } - StatusBaseText { anchors.fill: parent horizontalAlignment: Text.AlignHCenter verticalAlignment: Text.AlignVCenter color: Theme.palette.dangerColor1 visible: camera.availability !== Camera.Available - text: qsTr("Camera unavailable: ") + camera.errorString + text: qsTr("Camera unavailable: %1").arg(camera.errorString) } - }