Commit e911fe77 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add const

parent 2fc04f09
......@@ -573,7 +573,9 @@ QString MessageItem::accessibleText(const Theme *theme, int columnIndex)
leftStrings.append(accessibleTextForField(contentItem->type()));
}
Q_FOREACH (Theme::ContentItem *contentItem, row->rightItems()) {
const auto rightItems = row->rightItems();
rightStrings.reserve(rightItems.count());
for (Theme::ContentItem *contentItem : rightItems) {
rightStrings.insert(rightStrings.begin(), accessibleTextForField(contentItem->type()));
}
......
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