Commit a2f23a26 authored by Patrick José Pereira's avatar Patrick José Pereira

AnalyzeView: Change from foreach to c++11 for

Signed-off-by: 's avatarPatrick José Pereira <patrickelectric@gmail.com>
parent 4885d2f5
...@@ -114,7 +114,7 @@ void GeoTagController::startTagging(void) ...@@ -114,7 +114,7 @@ void GeoTagController::startTagging(void)
_setErrorMessage(tr("Save folder not empty")); _setErrorMessage(tr("Save folder not empty"));
return; return;
} }
foreach(QString dirFile, imageList) for(QString dirFile: imageList)
{ {
if(!saveDirectory.remove(dirFile)) { if(!saveDirectory.remove(dirFile)) {
_setErrorMessage(tr("Couldn't replace the existing images")); _setErrorMessage(tr("Couldn't replace the existing images"));
......
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