summaryrefslogtreecommitdiff
path: root/src/libcamera/event_notifier.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcamera/event_notifier.cpp')
-rw-r--r--src/libcamera/event_notifier.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libcamera/event_notifier.cpp b/src/libcamera/event_notifier.cpp
index 687969b0..4326b0b4 100644
--- a/src/libcamera/event_notifier.cpp
+++ b/src/libcamera/event_notifier.cpp
@@ -128,7 +128,8 @@ void EventNotifier::message(Message *msg)
if (msg->type() == Message::ThreadMoveMessage) {
if (enabled_) {
setEnabled(false);
- invokeMethod(&EventNotifier::setEnabled, true);
+ invokeMethod(&EventNotifier::setEnabled,
+ ConnectionTypeQueued, true);
}
}