diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-08-18 03:16:01 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-08-19 18:07:40 +0300 |
commit | 749dbd576f98d928fc4bc6a5116640d98f2f6dce (patch) | |
tree | 1a8303efba4883a341f842eecfaa97f7ad14fd50 /src/qcam | |
parent | 4403a667892a49f1bba1ff3b6164ff1e1633ecdd (diff) |
qcam: Remove double stop of the camera manager
The camera manager is stopped both in the destructor of the MainWindow
class and in the main() function. This double stop isn't needed, remove
the former and keep the latter as the manager is started in the main()
function.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'src/qcam')
-rw-r--r-- | src/qcam/main_window.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/qcam/main_window.cpp b/src/qcam/main_window.cpp index dcb653e8..33fde8b1 100644 --- a/src/qcam/main_window.cpp +++ b/src/qcam/main_window.cpp @@ -51,8 +51,6 @@ MainWindow::~MainWindow() camera_->release(); camera_.reset(); } - - CameraManager::instance()->stop(); } void MainWindow::updateTitle() |