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

Const'ify here

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