Drop unnecessary method

This commit is contained in:
Elvis Angelaccio 2017-06-06 19:16:34 +02:00
parent 1faef1c92d
commit a2f9e005a5
2 changed files with 2 additions and 12 deletions

View file

@ -283,7 +283,7 @@ void DolphinContextMenu::openItemContextMenu()
fileItemActions.setItemListProperties(selectedItemsProps); fileItemActions.setItemListProperties(selectedItemsProps);
addServiceActions(fileItemActions); addServiceActions(fileItemActions);
addFileItemPluginActions(fileItemActions); fileItemActions.addPluginActionsTo(this);
addVersionControlPluginActions(); addVersionControlPluginActions();
@ -355,7 +355,7 @@ void DolphinContextMenu::openViewportContextMenu()
fileItemActions.setItemListProperties(baseUrlProperties); fileItemActions.setItemListProperties(baseUrlProperties);
addServiceActions(fileItemActions); addServiceActions(fileItemActions);
addFileItemPluginActions(fileItemActions); fileItemActions.addPluginActionsTo(this);
addVersionControlPluginActions(); addVersionControlPluginActions();
@ -484,11 +484,6 @@ void DolphinContextMenu::addServiceActions(KFileItemActions& fileItemActions)
fileItemActions.addServiceActionsTo(this); fileItemActions.addServiceActionsTo(this);
} }
void DolphinContextMenu::addFileItemPluginActions(KFileItemActions& fileItemActions)
{
fileItemActions.addPluginActionsTo(this);
}
void DolphinContextMenu::addVersionControlPluginActions() void DolphinContextMenu::addVersionControlPluginActions()
{ {
const DolphinView* view = m_mainWindow->activeViewContainer()->view(); const DolphinView* view = m_mainWindow->activeViewContainer()->view();

View file

@ -123,11 +123,6 @@ private:
*/ */
void addServiceActions(KFileItemActions& fileItemActions); void addServiceActions(KFileItemActions& fileItemActions);
/**
* Adds actions that are provided by a KFileItemActionPlugin.
*/
void addFileItemPluginActions(KFileItemActions& fileItemActions);
/** /**
* Adds actions that are provided by a KVersionControlPlugin. * Adds actions that are provided by a KVersionControlPlugin.
*/ */