diff --git a/src/FlightDisplay/VideoManager.cc b/src/FlightDisplay/VideoManager.cc index 702e202502c560823ec8898012e74c70e4319184..4011ed613c01da762552f04b7ed688aebf782cc7 100644 --- a/src/FlightDisplay/VideoManager.cc +++ b/src/FlightDisplay/VideoManager.cc @@ -66,7 +66,7 @@ VideoManager::setToolbox(QGCToolbox *toolbox) #ifndef QGC_DISABLE_UVC // If we are using a UVC camera setup the device name QList cameras = QCameraInfo::availableCameras(); - foreach (const QCameraInfo &cameraInfo, cameras) { + for (const QCameraInfo &cameraInfo: cameras) { if(cameraInfo.description() == videoSource) { _videoSourceID = cameraInfo.deviceName(); emit videoSourceIDChanged();