libcamera: object: Add connection type parameter to invokeMethod()
Allow specifying a different connection type than ConnectionTypeQueued for Object::invokeMethod(). Signed-off-by: Jacopo Mondi <jacopo@jmondi.org> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
This commit is contained in:
committed by
Laurent Pinchart
parent
06008b9156
commit
fb1a5c0416
@@ -170,7 +170,8 @@ void Timer::message(Message *msg)
|
||||
if (msg->type() == Message::ThreadMoveMessage) {
|
||||
if (isRunning()) {
|
||||
unregisterTimer();
|
||||
invokeMethod(&Timer::registerTimer);
|
||||
invokeMethod(&Timer::registerTimer,
|
||||
ConnectionTypeQueued);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user