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:
Laurent Pinchart 2019-08-18 03:16:01 +03:00
parent 4403a66789
commit 749dbd576f

View file

@ -51,8 +51,6 @@ MainWindow::~MainWindow()
camera_->release();
camera_.reset();
}
CameraManager::instance()->stop();
}
void MainWindow::updateTitle()