Added code to initialize the motion indicators
Added code to change the minimum motion required
Changed the window title
Added controls to select a storage path
Added code to let the user select the storage directory
Set the standard storage directory to /
Applied a missing reformatting rule
Added functions to handle the events for connecting to the capture camera and disconnecting from it
Added missing code documentation
Added a button to capture the current image from the capture camera
Added a signal which gets emitted if the live-view capturing failed
An error message will be displayed if the live-view capturing failed
When the live-view gets diconnected, the capture camera connection will be closed too
The minimum motion threshold can be set to 100 instead just 99
Replaced a C cast with a C++ cast
Instead of setting the stop variable directly, a call to the stop method is much cleaner
Changed the used OpenCV API call to get a camera handle
Added error handling if the camera handle could not be opened
Moved the actual camera initialization to a separate method to ensure that error handling slots are connected
Fixed an application crash if the camera could not be opened