mirror of
https://invent.kde.org/system/dolphin
synced 2024-08-22 01:40:02 +00:00
Drop unused list
Spotted by clazy. GIT_SILENT
This commit is contained in:
parent
aba4462e02
commit
0d71ac9ad1
|
@ -793,7 +793,6 @@ void DolphinViewActionHandler::slotSelectionChanged(const KFileItemList& selecti
|
||||||
basicActionsMenu->setText(basicActionsMenuText);
|
basicActionsMenu->setText(basicActionsMenuText);
|
||||||
|
|
||||||
// Add or remove contextual actions
|
// Add or remove contextual actions
|
||||||
auto basicActionsMenuActions = basicActionsMenu->menu()->actions();
|
|
||||||
while (!basicActionsMenu->menu()->actions().constLast()->isSeparator()) {
|
while (!basicActionsMenu->menu()->actions().constLast()->isSeparator()) {
|
||||||
basicActionsMenu->menu()->removeAction(basicActionsMenu->menu()->actions().last());
|
basicActionsMenu->menu()->removeAction(basicActionsMenu->menu()->actions().last());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue