diff options
| author | Méven Car <[email protected]> | 2026-02-11 11:45:20 +0100 |
|---|---|---|
| committer | Méven Car <[email protected]> | 2026-02-11 10:47:03 +0000 |
| commit | 69999c70f14ef3fd03669ac034ef059960b008e8 (patch) | |
| tree | 435164554b252fb2917e02c822c3eeb510ee08f7 /src/panels/places/placespanel.h | |
| parent | ac5045498cd239c396db70015968a6b62c69c8a1 (diff) | |
panels/panels: handle lifetime of internal actions
Preventing a mem-leak on process leave.
Diffstat (limited to 'src/panels/places/placespanel.h')
| -rw-r--r-- | src/panels/places/placespanel.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/panels/places/placespanel.h b/src/panels/places/placespanel.h index dd5cb6d9e..3bacfcb94 100644 --- a/src/panels/places/placespanel.h +++ b/src/panels/places/placespanel.h @@ -73,8 +73,8 @@ private: QPersistentModelIndex m_indexToTearDown; - QAction *m_configureTrashAction; - QAction *m_openInSplitView; + std::unique_ptr<QAction> m_configureTrashAction; + std::unique_ptr<QAction> m_openInSplitView; QAction *m_lockPanelsAction; }; |
