Skip to content

Commit

Permalink
Comments fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
igor-sirotin committed Feb 6, 2023
1 parent a183c31 commit d0ac131
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions ui/StatusQ/src/StatusQ/Components/StatusQrCodeScanner.qml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@ Item {
focusMode: CameraFocus.FocusContinuous
focusPointMode: CameraFocus.FocusPointAuto
}
onDeviceIdChanged: {
console.log("<<< deviceId =", deviceId)
}
}

Rectangle {
Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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)
}

}

0 comments on commit d0ac131

Please sign in to comment.