diff --git a/src/AnalyzeView/GeoTagController.cc b/src/AnalyzeView/GeoTagController.cc index 3f0627deb204b1ce6f5e775e6b62cf435131e488..b255153ae3dd2f6c691a88df05a3842f7948d20d 100644 --- a/src/AnalyzeView/GeoTagController.cc +++ b/src/AnalyzeView/GeoTagController.cc @@ -114,7 +114,7 @@ void GeoTagController::startTagging(void) _setErrorMessage(tr("Save folder not empty")); return; } - foreach(QString dirFile, imageList) + for(QString dirFile: imageList) { if(!saveDirectory.remove(dirFile)) { _setErrorMessage(tr("Couldn't replace the existing images"));