Multiple fixes: - Drop QtCamViewfinder::setDevice() as it's not really needed - Added Camera::prepareForDeviceChange() signal to notify about the destruction of device. Viewfinder will reset QtCamDevice viewfinder when Camera emits prepareForDeviceChange(). This allows us to properly restart the pipeline for the secondary camera.
Reworking QtCamViewfinderRenderer to avoid having to pass QPainter to the renderer
Updated copyright year
Disable viewfinder in settings pages
Added QtCamAutoFocus::setRegionOfInterest()
Added renderArea property to Camera
Delete renderer when we are destroyed
Added copyright headers and COPYING file.
Added resource policy support (Still needs more testing) and refactored the pipeline handling logic
Don't try to manipulate the viewfinder renderer if we fail to create it.
Initial implementation