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

Fix mem leak found by asan

parent 980d1936
...@@ -106,7 +106,7 @@ KMFilterDialog::KMFilterDialog(const QList<KActionCollection *> &actionCollectio ...@@ -106,7 +106,7 @@ KMFilterDialog::KMFilterDialog(const QList<KActionCollection *> &actionCollectio
user1Button->setText(i18n("Import...")); user1Button->setText(i18n("Import..."));
user2Button->setText(i18n("Export...")); user2Button->setText(i18n("Export..."));
user3Button->setText(i18n("Convert to...")); user3Button->setText(i18n("Convert to..."));
QMenu *menu = new QMenu(); QMenu *menu = new QMenu(this);
QAction *act = new QAction(i18n("KMail filters"), this); QAction *act = new QAction(i18n("KMail filters"), this);
act->setData(QVariant::fromValue(MailCommon::FilterImporterExporter::KMailFilter)); act->setData(QVariant::fromValue(MailCommon::FilterImporterExporter::KMailFilter));
......
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