From aac37409090f2de2cd0f38073130b84d97aaa3f0 Mon Sep 17 00:00:00 2001 From: Ratchanan Srirattanamet Date: Thu, 10 Oct 2019 21:58:05 +0700 Subject: [PATCH] Gstreamer: correct signal name in CameraBinZoom::updateZoom updateZoom() is supposed to notify the change in maximum digital zoom. Instead of emitting "currentDigitalZoomChanged", it emits "maximum OpticalZoomChanged" signal instead. --- src/plugins/gstreamer/camerabin/camerabinzoom.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/gstreamer/camerabin/camerabinzoom.cpp b/src/plugins/gstreamer/camerabin/camerabinzoom.cpp index 372d8459..336ed2d5 100644 --- a/src/plugins/gstreamer/camerabin/camerabinzoom.cpp +++ b/src/plugins/gstreamer/camerabin/camerabinzoom.cpp @@ -133,7 +133,7 @@ void CameraBinZoom::updateMaxZoom(GObject *o, GParamSpec *p, gpointer d) CameraBinZoom *zoom = reinterpret_cast(d); - QMetaObject::invokeMethod(zoom, "maximumOpticalZoomChanged", + QMetaObject::invokeMethod(zoom, "maximumDigitalZoomChanged", Qt::QueuedConnection, Q_ARG(qreal, zoomFactor)); }