mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-03 00:02:25 -05:00
Currently most browser item actions are parented to the item itself, which is often long-lived (e.g. connection items which last for the duration of the qgis session). This commit adds an explicit parent widget parameter to QgsDataItem::actions to ensure that the newly created actions are correctly parented to the menu, and deleted after the menu is removed.