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

Create dialog on stack

parent c654ac85
Pipeline #202532 passed with stage
in 5 minutes and 8 seconds
......@@ -3605,9 +3605,8 @@ void KMMainWidget::slotAddFavoriteFolder()
//-----------------------------------------------------------------------------
void KMMainWidget::slotEditNotifications()
{
QPointer<KMail::KMKnotify> notifyDlg = new KMail::KMKnotify(this);
notifyDlg->exec();
delete notifyDlg;
KMail::KMKnotify notifyDlg(this);
notifyDlg.exec();
}
//-----------------------------------------------------------------------------
......
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