diff options
author | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2019-09-26 12:45:08 +0200 |
---|---|---|
committer | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2019-09-27 21:30:37 +0200 |
commit | b13b134616613060505d776d2fef1446b139ec0f (patch) | |
tree | 3d90049b288c14ab38e9d1ea59ff95016d30eb9b /test/message.cpp | |
parent | f0b2582c4961ce9e5b637a2a326aa59ebc905e52 (diff) |
qcam: Fix unregister of not registered timer
If an unregistered timer is given to QtEventDispatcher::unregisterTimer()
an error is printed and Qt gets confused and locks up. Fix this by
following the libcamera documentation that passing a unregistered timer
is a no-op.
Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'test/message.cpp')
0 files changed, 0 insertions, 0 deletions