Commit 2c5115f4 authored by Laurent Montel's avatar Laurent Montel
Browse files

Fix mem leak + add signal finished

parent 5f8ee036
Pipeline #211826 passed with stage
in 9 minutes and 6 seconds
......@@ -61,6 +61,8 @@ void MDNWarningJob::start()
}
}
}
Q_EMIT finished();
deleteLater();
}
const Akonadi::Item &MDNWarningJob::item() const
......
......@@ -42,6 +42,9 @@ public:
Q_REQUIRED_RESULT ResponseMDN response() const;
void setResponse(ResponseMDN newResponse);
Q_SIGNALS:
void finished();
private:
Q_REQUIRED_RESULT QPair<bool, KMime::MDN::SendingMode> modifyItem();
Akonadi::Item mItem;
......
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