Commit 9bc96e42 authored by Laurent Montel's avatar Laurent Montel 😁

Const'ify here

parent c6361404
......@@ -238,8 +238,7 @@ void AttachmentPropertiesDialog::Private::populateEncodings()
void AttachmentPropertiesDialog::Private::populateMimeTypes()
{
QStringList list;
list << QStringLiteral("text/html")
const QStringList list = QStringList() << QStringLiteral("text/html")
<< QStringLiteral("text/plain")
<< QStringLiteral("image/gif")
<< QStringLiteral("image/jpeg")
......
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