Commit c1146748 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use QByteArrayLiteral here

parent ea995fa8
......@@ -228,7 +228,7 @@ qint64 AttachmentPart::size() const
bool AttachmentPart::isMessageOrMessageCollection() const
{
return (mimeType() == "message/rfc822") || (mimeType() == "multipart/digest");
return (mimeType() == QByteArrayLiteral("message/rfc822")) || (mimeType() == QByteArrayLiteral("multipart/digest"));
}
void AttachmentPart::setUrl(const QUrl &url)
......
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