diff options
Diffstat (limited to 'src/libcamera/signal.cpp')
-rw-r--r-- | src/libcamera/signal.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libcamera/signal.cpp b/src/libcamera/signal.cpp index 8d62b5be..cb7daa11 100644 --- a/src/libcamera/signal.cpp +++ b/src/libcamera/signal.cpp @@ -47,6 +47,11 @@ namespace libcamera { * \brief Connect the signal to a member function slot * \param object The slot object pointer * \param func The slot member function + * + * If the typename T inherits from Object, the signal will be automatically + * disconnected from the \a func slot of \a object when \a object is destroyed. + * Otherwise the caller shall disconnect signals manually before destroying \a + * object. */ /** |