Message ID | 20220812124651.27496-12-utkarsh02t@gmail.com |
---|---|
State | New |
Headers | show |
Series |
|
Related | show |
diff --git a/src/qcam/settings/control_frame.cpp b/src/qcam/settings/control_frame.cpp index d9c294a2..45846ba2 100644 --- a/src/qcam/settings/control_frame.cpp +++ b/src/qcam/settings/control_frame.cpp @@ -144,6 +144,12 @@ void ControlFrame::setCurrentValue(const libcamera::ControlValue controlValue) case ControlTypeFloat: currentValue_->setText(QString::number(controlValue.get<float>())); break; + case ControlTypeInteger32: + currentValue_->setText(QString::number(controlValue.get<int32_t>())); + break; + case ControlTypeInteger64: + currentValue_->setText(QString::number(controlValue.get<int64_t>())); + break; default: break; }
Display the Current values for ControlTypeInteger32 and ControlTypeInteger64. Signed-off-by: Utkarsh Tiwari <utkarsh02t@gmail.com> --- src/qcam/settings/control_frame.cpp | 6 ++++++ 1 file changed, 6 insertions(+)