[Differential] [Request, 6 lines] D3816: [Task Manager] Parent QAction to "parent" instead of this
broulik (Kai Uwe Broulik)
noreply at phabricator.kde.org
Mon Dec 26 20:49:43 UTC 2016
broulik created this revision.
broulik added reviewers: Plasma, hein.
broulik set the repository for this revision to R119 Plasma Desktop.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.
REVISION SUMMARY
This ensures the QAction is disposed of once the menu gets destroyed rather than accumulating forever - the methods already took a "parent" argument for exactly that purpose.
TEST PLAN
verified that the actions are destroyed once the menu closes
Should be 5.8 material
REPOSITORY
R119 Plasma Desktop
REVISION DETAIL
https://phabricator.kde.org/D3816
AFFECTED FILES
applets/taskmanager/plugin/backend.cpp
EMAIL PREFERENCES
https://phabricator.kde.org/settings/panel/emailpreferences/
To: broulik, #plasma, hein
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/1e624024/attachment.html>
More information about the Plasma-devel
mailing list