Commit 0d71ac9a authored by Elvis Angelaccio's avatar Elvis Angelaccio
Browse files

Drop unused list

Spotted by clazy.

GIT_SILENT
parent aba4462e
......@@ -793,7 +793,6 @@ void DolphinViewActionHandler::slotSelectionChanged(const KFileItemList& selecti
basicActionsMenu->setText(basicActionsMenuText);
// Add or remove contextual actions
auto basicActionsMenuActions = basicActionsMenu->menu()->actions();
while (!basicActionsMenu->menu()->actions().constLast()->isSeparator()) {
basicActionsMenu->menu()->removeAction(basicActionsMenu->menu()->actions().last());
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment