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

Remove deprecated method

parent 4f3d710f
Pipeline #33805 passed with stage
in 67 minutes and 27 seconds
...@@ -41,7 +41,7 @@ bool UndoSendCreateJob::start() ...@@ -41,7 +41,7 @@ bool UndoSendCreateJob::start()
connect(mTimer, &QTimer::timeout, this, &UndoSendCreateJob::slotTimeOut); connect(mTimer, &QTimer::timeout, this, &UndoSendCreateJob::slotTimeOut);
mTimer->setSingleShot(true); mTimer->setSingleShot(true);
mTimer->start(mDelay * 1000); mTimer->start(mDelay * 1000);
mNotification = new KNotification(QStringLiteral("undosend"), nullptr, mNotification = new KNotification(QStringLiteral("undosend"),
KNotification::Persistent); KNotification::Persistent);
mNotification->setText(mSubject); mNotification->setText(mSubject);
mNotification->setActions(QStringList() << i18n("Undo send")); mNotification->setActions(QStringList() << i18n("Undo send"));
......
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