diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-08-18 03:13:29 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-08-19 19:06:50 +0300 |
commit | 5ce4bb62e77e85a681d6742f25e5173963b55415 (patch) | |
tree | 1ea3a5a4ffe953ecd87f9b94e608f116c3cffac4 /test/camera/capture.cpp | |
parent | fd0087b5d8608eb1dc1e1a3da5ddafd83d43fc79 (diff) |
test: camera: Use the CameraManager from the CameraTest base class
Make the camera manager a protected field of the CameraTest class, and
use it instead of CameraManager::instance() in the camera tests. This
prepares for the removal of CameraManager::instance().
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'test/camera/capture.cpp')
-rw-r--r-- | test/camera/capture.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/camera/capture.cpp b/test/camera/capture.cpp index e6bf7a8d..791ccad1 100644 --- a/test/camera/capture.cpp +++ b/test/camera/capture.cpp @@ -120,7 +120,7 @@ protected: } } - EventDispatcher *dispatcher = CameraManager::instance()->eventDispatcher(); + EventDispatcher *dispatcher = cm_->eventDispatcher(); Timer timer; timer.start(1000); |