Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 6237a886 authored by Laurent Montel's avatar Laurent Montel 😁

Use simplified here as propose "Rolf Eike Beer"

CCBUG: 342671
parent ddcf0140
......@@ -134,13 +134,10 @@ void SpecialNotifierJob::emitNotification(const QPixmap &pixmap)
result << i18n("From: %1", Qt::escape(mFrom));
}
if (NewMailNotifierAgentSettings::showSubject()) {
QString subject(mSubject);
QString subject = mSubject.simplified();
if (subject.length()> 80) {
subject.truncate(80);
subject += QLatin1String("...");
} else {
subject.remove(QLatin1String("\n"));
subject.remove(QLatin1String("\r"));
}
result << i18n("Subject: %1", Qt::escape(subject));
}
......
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