┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSebastian Englbrecht <[email protected]>2026-05-26 20:49:15 +0200
committerSebastian Englbrecht <[email protected]>2026-05-26 20:49:15 +0200
commitbb2da89e49ca7588b1da9cf49885cf01a7c05bb9 (patch)
tree3612b3e668923c5e4929b2209d876783ab30bb23 /src
parentcf12c8c61d6b5267b3f5755462f000fa69d9c667 (diff)
DolphinRecentTabsMenu: remove no-op null assignment after delete
action is a by-value parameter; action = nullptr only affects the local copy. Remove the dead line. Found with cppcheck
Diffstat (limited to 'src')
-rw-r--r--src/dolphinrecenttabsmenu.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/dolphinrecenttabsmenu.cpp b/src/dolphinrecenttabsmenu.cpp
index d9b103c0c..ce39f3f53 100644
--- a/src/dolphinrecenttabsmenu.cpp
+++ b/src/dolphinrecenttabsmenu.cpp
@@ -79,7 +79,6 @@ void DolphinRecentTabsMenu::handleAction(QAction *action)
const QByteArray state = action->data().toByteArray();
removeAction(action);
delete action;
- action = nullptr;
Q_EMIT restoreClosedTab(state);
Q_EMIT closedTabsCountChanged(menu()->actions().size() - 2);
}