[Task Manager] Parent QAction to "parent" instead of this

Authored by broulik on Jan 3 2017, 8:37 AM.

Description

[Task Manager] Parent QAction to "parent" instead of this

This ensures the QAction is disposed of once the menu gets destroyed rather than
accumulating forever - the methods already took a "parent" argument,
which is passed the menu from QML side, for exactly that purpose.

Differential Revision: https://phabricator.kde.org/D3816