┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinmainwindow.cpp
diff options
context:
space:
mode:
authorLoren Burkholder <[email protected]>2024-01-18 18:28:39 -0500
committerLoren Burkholder <[email protected]>2024-01-18 23:29:23 +0000
commit438131a3d35c01c92f65c182119981a7f630bfcf (patch)
tree47311220473fbb1198c562c6f675f4c7cfcaddeb /src/dolphinmainwindow.cpp
parent5d6bdce2d6acc6f8b0f8c7e58ea499e49f2f9c70 (diff)
Fix memory leak
Diffstat (limited to 'src/dolphinmainwindow.cpp')
-rw-r--r--src/dolphinmainwindow.cpp1
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);
}