diff options
| author | Loren Burkholder <[email protected]> | 2024-01-18 18:28:39 -0500 |
|---|---|---|
| committer | Loren Burkholder <[email protected]> | 2024-01-18 23:29:23 +0000 |
| commit | 438131a3d35c01c92f65c182119981a7f630bfcf (patch) | |
| tree | 47311220473fbb1198c562c6f675f4c7cfcaddeb /src/dolphinmainwindow.cpp | |
| parent | 5d6bdce2d6acc6f8b0f8c7e58ea499e49f2f9c70 (diff) | |
Fix memory leak
Diffstat (limited to 'src/dolphinmainwindow.cpp')
| -rw-r--r-- | src/dolphinmainwindow.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index 7bff58080..f90ff0c73 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -2572,6 +2572,7 @@ void DolphinMainWindow::updateSplitActions() popoutSplitAction->setEnabled(false); if (m_splitViewAction->menu()) { m_splitViewAction->removeAction(popoutSplitAction); + m_splitViewAction->menu()->deleteLater(); m_splitViewAction->setMenu(nullptr); setActionPopupMode(m_splitViewAction, QToolButton::DelayedPopup); } |
