Commit 4487ca86 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Port some deprecated qt5.15 method

parent 9d78af03
......@@ -338,7 +338,7 @@ void EditDisplayAlarmDlg::type_initValues(const KAEvent* event)
reminder()->enableOnceOnly(isTimedRecurrence()); // must be called after mRecurrenceEdit is set up
if (mSpecialActionsButton)
{
KAEvent::ExtraActionOptions opts(nullptr);
KAEvent::ExtraActionOptions opts({});
if (Preferences::defaultExecPreActionOnDeferral())
opts |= KAEvent::ExecPreActOnDeferral;
if (Preferences::defaultCancelOnPreActionError())
......
......@@ -149,7 +149,7 @@ int KAMail::send(JobData& jobdata, QStringList& errmsgs)
}
jobdata.bcc = (jobdata.event.emailBcc() ? Preferences::emailBccAddress() : QString());
qCDebug(KALARM_LOG) << "KAMail::send: To:" << jobdata.event.emailAddresses(QStringLiteral(","))
<< endl << "Subject:" << jobdata.event.emailSubject();
<< "\nSubject:" << jobdata.event.emailSubject();
KMime::Message::Ptr message = KMime::Message::Ptr(new KMime::Message);
......
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