Commit 2a7c9499 authored by Laurent Montel's avatar Laurent Montel 😁

Use qWarning() + fix typo

parent efadc5cb
......@@ -67,7 +67,7 @@ bool MailClient::mailAttendees(const KCalCore::IncidenceBase::Ptr &incidence,
{
KCalCore::Attendee::List attendees = incidence->attendees();
if (attendees.isEmpty()) {
qCDebug(KOALARMCLIENT_LOG) << "There are no attendees to e-mail";
qCWarning(KOALARMCLIENT_LOG) << "There are no attendees to e-mail";
return false;
}
......@@ -306,7 +306,7 @@ bool MailClient::send(const KIdentityManagement::Identity &identity,
bodyMessage->setHeader(bodyDisposition);
message->addContent(bodyMessage);
// Set the sedcond multipart, the attachment.
// Set the second multipart, the attachment.
if (!attachment.isEmpty()) {
KMime::Content *attachMessage = new KMime::Content;
KMime::Headers::ContentDisposition *attachDisposition = new KMime::Headers::ContentDisposition;
......
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