Commit 2fc04f09 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

const'ify

parent cf14d336
......@@ -195,7 +195,7 @@ void MessageItemPrivate::fillTagList(const Akonadi::Tag::List &taglist)
for (const Akonadi::Tag &tag : taglist) {
QString symbol = QStringLiteral("mail-tagged");
auto attr = tag.attribute<Akonadi::TagAttribute>();
const auto attr = tag.attribute<Akonadi::TagAttribute>();
if (attr) {
if (!attr->iconName().isEmpty()) {
symbol = attr->iconName();
......
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