diff --git a/src/mimemessage.cpp b/src/mimemessage.cpp index 8ac8ad9..f53b5e2 100644 --- a/src/mimemessage.cpp +++ b/src/mimemessage.cpp @@ -192,7 +192,7 @@ void MimeMessage::setSubject(const QString &subject) void MimeMessage::addPart(const std::shared_ptr &part) { - if(d->content) { + if (d->content) { if (typeid(*(d->content.get())) == typeid(MimeMultiPart)) { std::static_pointer_cast(d->content)->addPart(part); } @@ -232,7 +232,7 @@ QString MimeMessage::subject() const QList> MimeMessage::parts() const { QList> ret; - if(d->content) { + if (d->content) { if (typeid(*(d->content.get())) == typeid(MimeMultiPart)) { ret = std::static_pointer_cast(d->content)->parts(); } else {