From 7da95c7f4da447876458a0b1a17736b9a2865844 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 18 May 2014 19:47:28 +0300 Subject: Move inputaction into separate file. --- src/gui/widgets/tabbedarea.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/gui/widgets/tabbedarea.cpp') diff --git a/src/gui/widgets/tabbedarea.cpp b/src/gui/widgets/tabbedarea.cpp index f99f6ccc8..81cf34dd2 100644 --- a/src/gui/widgets/tabbedarea.cpp +++ b/src/gui/widgets/tabbedarea.cpp @@ -67,6 +67,7 @@ #include "events/keyevent.h" +#include "input/inputaction.h" #include "input/keydata.h" #include "gui/gui.h" @@ -728,7 +729,7 @@ void TabbedArea::keyPressed(KeyEvent& event) const int actionId = event.getActionId(); - if (actionId == Input::KEY_GUI_LEFT) + if (actionId == InputAction::GUI_LEFT) { int index = getSelectedTabIndex(); index--; @@ -740,7 +741,7 @@ void TabbedArea::keyPressed(KeyEvent& event) event.consume(); } - else if (actionId == Input::KEY_GUI_RIGHT) + else if (actionId == InputAction::GUI_RIGHT) { int index = getSelectedTabIndex(); index++; -- cgit v1.2.3-60-g2f50