aboutsummaryrefslogtreecommitdiff
path: root/guilib/GUIVisualisationControl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'guilib/GUIVisualisationControl.cpp')
-rw-r--r--guilib/GUIVisualisationControl.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/guilib/GUIVisualisationControl.cpp b/guilib/GUIVisualisationControl.cpp
index 6f5e7b3144..0783c866d7 100644
--- a/guilib/GUIVisualisationControl.cpp
+++ b/guilib/GUIVisualisationControl.cpp
@@ -352,17 +352,17 @@ bool CGUIVisualisationControl::OnAction(const CAction &action)
{
if (!m_pVisualisation) return false;
enum CVisualisation::VIS_ACTION visAction = CVisualisation::VIS_ACTION_NONE;
- if (action.actionId == ACTION_VIS_PRESET_NEXT)
+ if (action.GetID() == ACTION_VIS_PRESET_NEXT)
visAction = CVisualisation::VIS_ACTION_NEXT_PRESET;
- else if (action.actionId == ACTION_VIS_PRESET_PREV)
+ else if (action.GetID() == ACTION_VIS_PRESET_PREV)
visAction = CVisualisation::VIS_ACTION_PREV_PRESET;
- else if (action.actionId == ACTION_VIS_PRESET_LOCK)
+ else if (action.GetID() == ACTION_VIS_PRESET_LOCK)
visAction = CVisualisation::VIS_ACTION_LOCK_PRESET;
- else if (action.actionId == ACTION_VIS_PRESET_RANDOM)
+ else if (action.GetID() == ACTION_VIS_PRESET_RANDOM)
visAction = CVisualisation::VIS_ACTION_RANDOM_PRESET;
- else if (action.actionId == ACTION_VIS_RATE_PRESET_PLUS)
+ else if (action.GetID() == ACTION_VIS_RATE_PRESET_PLUS)
visAction = CVisualisation::VIS_ACTION_RATE_PRESET_PLUS;
- else if (action.actionId == ACTION_VIS_RATE_PRESET_MINUS)
+ else if (action.GetID() == ACTION_VIS_RATE_PRESET_MINUS)
visAction = CVisualisation::VIS_ACTION_RATE_PRESET_MINUS;
return m_pVisualisation->OnAction(visAction);