aboutsummaryrefslogtreecommitdiff
path: root/guilib/GUIRadioButtonControl.cpp
diff options
context:
space:
mode:
authorjmarshallnz <jmarshallnz@svn>2010-02-19 02:55:37 +0000
committerjmarshallnz <jmarshallnz@svn>2010-02-19 02:55:37 +0000
commit5f22c573c7fbb7a45cf2aaee2e1ddad7bb7899cb (patch)
tree616c5e8b5f6bb5ee97f4e2ed92ab661d2f22e555 /guilib/GUIRadioButtonControl.cpp
parentaf22bc05ff517e85698c5618ad0b322706955ed8 (diff)
cleanup: Move all members of CAction private, accessed via getters, as we only ever set in constructors.
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@27962 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'guilib/GUIRadioButtonControl.cpp')
-rw-r--r--guilib/GUIRadioButtonControl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/guilib/GUIRadioButtonControl.cpp b/guilib/GUIRadioButtonControl.cpp
index c928ad8ce5..510b66e514 100644
--- a/guilib/GUIRadioButtonControl.cpp
+++ b/guilib/GUIRadioButtonControl.cpp
@@ -60,7 +60,7 @@ void CGUIRadioButtonControl::Render()
bool CGUIRadioButtonControl::OnAction(const CAction &action)
{
- if (action.actionId == ACTION_SELECT_ITEM)
+ if (action.GetID() == ACTION_SELECT_ITEM)
{
m_bSelected = !m_bSelected;
}