[Differential] [Commented On] D3815: [Task Manager] Add "Places" for entries belonging to a file manager

broulik (Kai Uwe Broulik) noreply at phabricator.kde.org
Mon Dec 26 20:46:16 UTC 2016


broulik added inline comments.

INLINE COMMENTS

> backend.cpp:174
> +
> +            QAction *action = new QAction(this);
> +            action->setText(title);

I just spotted this memory leak in backend, jumpListActions and recentDocumentActions both take a "parent" argument which is never used. I'll make a follow-up patch to change new QAction(this) to new QAction(menu) and I verified that this causes the QActions to be disposed of once the menu closes

REPOSITORY
  R119 Plasma Desktop

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

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: broulik, #plasma, hein, #plasma:_design
Cc: plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20161226/11b12b98/attachment.html>


More information about the Plasma-devel mailing list