diff --git a/include/libcamera/signal.h b/include/libcamera/signal.h index b8a60281..57598335 100644 --- a/include/libcamera/signal.h +++ b/include/libcamera/signal.h @@ -55,11 +55,12 @@ public: #ifndef __DOXYGEN__ template::value>::type * = nullptr> - void connect(T *obj, void (T::*func)(Args...)) + void connect(T *obj, void (T::*func)(Args...), + ConnectionType type = ConnectionTypeAuto) { Object *object = static_cast(obj); object->connect(this); - slots_.push_back(new BoundMemberMethod(obj, object, func)); + slots_.push_back(new BoundMemberMethod(obj, object, func, type)); } template::value>::type * = nullptr>