Commit 392cb6e7 authored by Laurent Montel's avatar Laurent Montel 😁

constify

parent d6951b37
......@@ -102,9 +102,8 @@ void KODialogManager::showOptionsDialog()
modules.append(QStringLiteral("korganizer_configdesignerfields.desktop"));
// add them all
QStringList::iterator mit;
QStringList::iterator mitEnd(modules.end());
for (mit = modules.begin(); mit != mitEnd ; ++mit) {
const QStringList::iterator mitEnd(modules.end());
for (QStringList::iterator mit = modules.begin(); mit != mitEnd ; ++mit) {
mOptionsDialog->addModule(*mit);
}
}
......
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