D28692: Don't leak DrKonqi dialog / fix crash on wayland

Anthony Fieroni noreply at phabricator.kde.org
Thu Apr 9 04:58:34 BST 2020


anthonyfieroni added inline comments.

INLINE COMMENTS

> main.cpp:67
>      void openDrKonqiDialog () {
>          DrKonqiDialog *w = new DrKonqiDialog();
> +        QObject::connect(qApp, &QCoreApplication::aboutToQuit, w, &QObject::deleteLater);

Adding a qApp as a parent here?

REPOSITORY
  R871 DrKonqi

REVISION DETAIL
  https://phabricator.kde.org/D28692

To: davidedmundson, #plasma
Cc: anthonyfieroni, plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20200409/64aeb1f5/attachment.html>


More information about the Plasma-devel mailing list