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

Clean up old code

parent 47a45369
......@@ -893,11 +893,7 @@ public:
i18n("You forgot to add proposal. Please add it. Thanks"));
return true;
} else {
if (MessageViewer::MessageViewerSettings::self()->outlookCompatibleInvitationReplyComments()) {
incidence->setDescription(comment);
} else {
incidence->addComment(comment);
}
incidence->addComment(comment);
}
}
......@@ -1223,11 +1219,7 @@ public:
return true;
} else {
if (MessageViewer::MessageViewerSettings::self()->outlookCompatibleInvitationReplyComments()) {
incidence->setDescription(comment);
} else {
incidence->addComment(comment);
}
incidence->addComment(comment);
}
}
return mail(viewerInstance, incidence, QStringLiteral("declinecounter"), KCalCore::iTIPDeclineCounter,
......
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