Commit 7b6a1d96 authored by Laurent Montel's avatar Laurent Montel 😁

Use qAsConst

parent 893cc279
......@@ -528,7 +528,7 @@ void RichTextComposerActions::setListStyle(int _styleindex)
void RichTextComposerActions::setActionsEnabled(bool enabled)
{
Q_FOREACH (QAction *action, d->richTextActionList) {
for (QAction *action : qAsConst(d->richTextActionList)) {
action->setEnabled(enabled);
}
d->richTextEnabled = enabled;
......
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