Commit 12925b5c authored by Patrick José Pereira's avatar Patrick José Pereira

Settings: Change from foreach to c++11 for

Signed-off-by: 's avatarPatrick José Pereira <>
parent ea5de155
......@@ -71,7 +71,7 @@ VideoSettings::VideoSettings(QObject* parent)
QList<QCameraInfo> cameras = QCameraInfo::availableCameras();
foreach (const QCameraInfo &cameraInfo, cameras) {
for (const QCameraInfo &cameraInfo: cameras) {
......@@ -82,7 +82,7 @@ VideoSettings::VideoSettings(QObject* parent)
videoSourceList.insert(0, videoDisabled);
QVariantList videoSourceVarList;
foreach (const QString& videoSource, videoSourceList) {
for (const QString& videoSource: videoSourceList) {
_nameToMetaDataMap[videoSourceName]->setEnumInfo(videoSourceList, videoSourceVarList);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment