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

Const'ify here

parent c6361404
...@@ -238,15 +238,14 @@ void AttachmentPropertiesDialog::Private::populateEncodings() ...@@ -238,15 +238,14 @@ void AttachmentPropertiesDialog::Private::populateEncodings()
void AttachmentPropertiesDialog::Private::populateMimeTypes() void AttachmentPropertiesDialog::Private::populateMimeTypes()
{ {
QStringList list; const QStringList list = QStringList() << QStringLiteral("text/html")
list << QStringLiteral("text/html") << QStringLiteral("text/plain")
<< QStringLiteral("text/plain") << QStringLiteral("image/gif")
<< QStringLiteral("image/gif") << QStringLiteral("image/jpeg")
<< QStringLiteral("image/jpeg") << QStringLiteral("image/png")
<< QStringLiteral("image/png") << QStringLiteral("application/octet-stream")
<< QStringLiteral("application/octet-stream") << QStringLiteral("application/x-gunzip")
<< QStringLiteral("application/x-gunzip") << QStringLiteral("application/zip");
<< QStringLiteral("application/zip");
ui->mimeType->addItems(list); ui->mimeType->addItems(list);
} }
......
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