Commit 07353f82 authored by Glen Ditchfield's avatar Glen Ditchfield 🐛 Committed by Laurent Montel
Browse files

Do not double-delete

`this` is passed as a parent pointer when the EventViewer is created,
so it is deleted automatically.
parent 5ed6f0a7
Pipeline #44460 passed with stage
in 13 minutes and 58 seconds
......@@ -52,10 +52,7 @@ KOEventViewerDialog::KOEventViewerDialog(Akonadi::ETMCalendar *calendar, QWidget
connect(user2Button, &QPushButton::clicked, this, &KOEventViewerDialog::showIncidenceContext);
}
KOEventViewerDialog::~KOEventViewerDialog()
{
delete mEventViewer;
}
KOEventViewerDialog::~KOEventViewerDialog() = default;
void KOEventViewerDialog::delayedDestruct()
{
......
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