Message ID | 20220715191400.890976-12-utkarsh02t@gmail.com |
---|---|
State | Superseded |
Headers | show |
Series |
|
Related | show |
diff --git a/src/qcam/settings/control_frame.cpp b/src/qcam/settings/control_frame.cpp index 5a3258d6..928807b8 100644 --- a/src/qcam/settings/control_frame.cpp +++ b/src/qcam/settings/control_frame.cpp @@ -145,6 +145,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(+)