Commit 893d80f1 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Remove deprecated method

parent 24b41163
Pipeline #33804 failed with stage
in 79 minutes and 13 seconds
......@@ -138,7 +138,7 @@ void SpecialNotifierJob::emitNotification(const QPixmap &pixmap)
}
if (NewMailNotifierAgentSettings::showButtonToDisplayMail()) {
KNotification *notification = new KNotification(QStringLiteral("new-email"), nullptr,
KNotification *notification = new KNotification(QStringLiteral("new-email"),
NewMailNotifierAgentSettings::keepPersistentNotification() ? KNotification::Persistent
| KNotification::SkipGrouping : KNotification::CloseOnTimeout);
notification->setText(result.join(QLatin1Char('\n')));
......
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