Skip to content

Commit

Permalink
Code improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
razzeee committed Mar 4, 2016
1 parent 6112c08 commit 222ae61
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions xbmc/ContextMenuManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@
#include "addons/AddonManager.h"
#include "addons/ContextMenuAddon.h"
#include "addons/IAddon.h"
#include "interfaces/generic/ScriptInvocationManager.h"
#include "interfaces/python/ContextItemAddonInvoker.h"
#include "interfaces/python/XBPython.h"
#include "utils/log.h"

using namespace ADDON;
Expand Down Expand Up @@ -127,7 +124,7 @@ bool CContextMenuManager::IsVisible(
}

void CContextMenuManager::AddVisibleItems(
const CFileItemPtr& fileItem, CContextButtons& list, const CContextMenuItem& root /* = CContextMenuItem::MAIN */)
const CFileItemPtr& fileItem, CContextButtons& list, const CContextMenuItem& root /* = CContextMenuItem::MAIN */) const
{
if (!fileItem)
return;
Expand Down
2 changes: 1 addition & 1 deletion xbmc/ContextMenuManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class CContextMenuManager
void AddVisibleItems(
const CFileItemPtr& item,
CContextButtons& list,
const CContextMenuItem& root = MAIN);
const CContextMenuItem& root = MAIN) const;

/*!
* \brief Adds a context item to this manager.
Expand Down

0 comments on commit 222ae61

Please sign in to comment.