Commit bc72a72e authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇
Browse files

Trim kwrited text

Avoids having empty lines at the beginning leaving a gap between Plasma notification
summary and actual message text

Differential Revision:
parent 3360de6f
......@@ -154,6 +154,7 @@ void KWrited::block_in()
QString msg = QString::fromLocal8Bit( buf.constData(), buf.size() );
msg = msg.trimmed();
KNotification *notification = new KNotification(QStringLiteral("NewMessage"), nullptr, KNotification::Persistent);
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