Commit 80ccd7aa authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

const'ify

parent 49095054
Pipeline #28847 failed with stage
in 31 minutes and 20 seconds
......@@ -69,10 +69,8 @@ MboxResource::MboxResource(const QString &id)
QDBusConnection::sessionBus().registerObject(QStringLiteral("/Settings"),
mSettings, QDBusConnection::ExportAdaptors);
QStringList mimeTypes;
mimeTypes << QStringLiteral("message/rfc822");
const QStringList mimeTypes{QStringLiteral("message/rfc822")};
setSupportedMimetypes(mimeTypes, QStringLiteral("message-rfc822"));
// Register the list of deleted items as an attribute of the collection.
AttributeFactory::registerAttribute<DeletedItemsAttribute>();
}
......
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