Commit a2f9e005 authored by Elvis Angelaccio's avatar Elvis Angelaccio

Drop unnecessary method

parent 1faef1c9
......@@ -283,7 +283,7 @@ void DolphinContextMenu::openItemContextMenu()
fileItemActions.setItemListProperties(selectedItemsProps);
addServiceActions(fileItemActions);
addFileItemPluginActions(fileItemActions);
fileItemActions.addPluginActionsTo(this);
addVersionControlPluginActions();
......@@ -355,7 +355,7 @@ void DolphinContextMenu::openViewportContextMenu()
fileItemActions.setItemListProperties(baseUrlProperties);
addServiceActions(fileItemActions);
addFileItemPluginActions(fileItemActions);
fileItemActions.addPluginActionsTo(this);
addVersionControlPluginActions();
......@@ -484,11 +484,6 @@ void DolphinContextMenu::addServiceActions(KFileItemActions& fileItemActions)
fileItemActions.addServiceActionsTo(this);
}
void DolphinContextMenu::addFileItemPluginActions(KFileItemActions& fileItemActions)
{
fileItemActions.addPluginActionsTo(this);
}
void DolphinContextMenu::addVersionControlPluginActions()
{
const DolphinView* view = m_mainWindow->activeViewContainer()->view();
......
......@@ -123,11 +123,6 @@ private:
*/
void addServiceActions(KFileItemActions& fileItemActions);
/**
* Adds actions that are provided by a KFileItemActionPlugin.
*/
void addFileItemPluginActions(KFileItemActions& fileItemActions);
/**
* Adds actions that are provided by a KVersionControlPlugin.
*/
......
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