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>
This commit is contained in:
parent
4403a66789
commit
749dbd576f
1 changed files with 0 additions and 2 deletions
|
@ -51,8 +51,6 @@ MainWindow::~MainWindow()
|
|||
camera_->release();
|
||||
camera_.reset();
|
||||
}
|
||||
|
||||
CameraManager::instance()->stop();
|
||||
}
|
||||
|
||||
void MainWindow::updateTitle()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue