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

It was a error to call setAutoDelete(false). It will create a mem leak

Thanks David to point it
parent 7731ab51
Pipeline #35669 failed with stage
in 8 minutes and 36 seconds
......@@ -552,7 +552,6 @@ void KTNEFMain::openWith(const KService::Ptr &offer)
KIO::ApplicationLauncherJob *job = new KIO::ApplicationLauncherJob(offer);
job->setUrls(lst);
job->setUiDelegate(new KIO::JobUiDelegate(KJobUiDelegate::AutoHandlingEnabled, this));
job->setAutoDelete(false);
job->start();
}
}
......
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