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

Add text

parent 60f335f4
Pipeline #88610 passed with stage
in 24 minutes and 48 seconds
......@@ -5,7 +5,8 @@
*/
#include "toomanyrecipientswarning.h"
#include <KLocalizedString>
#include <MessageComposer/MessageComposerSettings>
TooManyRecipientsWarning::TooManyRecipientsWarning(QWidget *parent)
: KMessageWidget(parent)
{
......@@ -13,6 +14,7 @@ TooManyRecipientsWarning::TooManyRecipientsWarning(QWidget *parent)
setCloseButtonVisible(true);
setMessageType(Warning);
setWordWrap(true);
setText(i18nc("@info:status", "Truncating recipients list to %1.", MessageComposer::MessageComposerSettings::self()->maximumRecipients()));
}
TooManyRecipientsWarning::~TooManyRecipientsWarning()
......
Supports Markdown
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