Skip to content
Browse files

Remove unnecessary CAction constructor

  • Loading branch information...
1 parent 03c7d0f commit 3fb34be88502835e234edb4d19f2afaecbfcda5e John Rennie committed Jul 27, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 xbmc/Application.cpp
View
2 xbmc/Application.cpp
@@ -2772,7 +2772,7 @@ bool CApplication::ProcessMouse()
// be mapped to volume up/down in mouse.xml. In this case we do not want
// the mouse position saved in the action.
if (!mouseaction.IsMouse())
- return OnAction(CAction(mouseaction.GetID()));
+ return OnAction(mouseaction);
// This is a mouse action so we need to record the mouse position
return OnAction(CAction(mouseaction.GetID(),

0 comments on commit 3fb34be

Please sign in to comment.
Something went wrong with that request. Please try again.