SVN commit 1096588 by mlaurent: Fix iterator M +1 -1 MD5CheckPage.cpp --- trunk/extragear/graphics/kphotoalbum/ImportExport/MD5CheckPage.cpp #1096587:1096588 @@ -58,7 +58,7 @@ createRow( grid, row, QString::fromLatin1("*Description*"), i18n("Description"), clashes.description, true); createRow( grid, row, QString::fromLatin1( "*Orientation*" ), i18n("Orientation"), clashes.orientation, false ); createRow( grid, row, QString::fromLatin1( "*Date*" ), i18n("Date and Time"), clashes.date, false ); - for ( QMap::const_iterator it = clashes.categories.begin(); it != clashes.categories.end(); ++it ) { + for ( QMap::const_iterator it = clashes.categories.constBegin(); it != clashes.categories.constEnd(); ++it ) { createRow( grid, row, it.key(), it.key(), *it, true ); }