summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabs/setup_input.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-22 19:21:24 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-22 19:21:24 +0300
commitddcdc184c2d9828e647a0734615e6e217332ad5e (patch)
treefd6067a12dfb8b9f872bae4afdbffc58a39ec00a /src/gui/widgets/tabs/setup_input.cpp
parenta8f314b3cf5b89f991d1de51cc01cdb53fe9a78c (diff)
downloadmanaplus-ddcdc184c2d9828e647a0734615e6e217332ad5e.tar.gz
manaplus-ddcdc184c2d9828e647a0734615e6e217332ad5e.tar.bz2
manaplus-ddcdc184c2d9828e647a0734615e6e217332ad5e.tar.xz
manaplus-ddcdc184c2d9828e647a0734615e6e217332ad5e.zip
Rename setupactiondata array names.
Diffstat (limited to 'src/gui/widgets/tabs/setup_input.cpp')
-rw-r--r--src/gui/widgets/tabs/setup_input.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/gui/widgets/tabs/setup_input.cpp b/src/gui/widgets/tabs/setup_input.cpp
index 39d944a87..7c4a548c9 100644
--- a/src/gui/widgets/tabs/setup_input.cpp
+++ b/src/gui/widgets/tabs/setup_input.cpp
@@ -363,16 +363,17 @@ void Setup_Input::fixTranslation(SetupActionData *const actionDatas,
void Setup_Input::fixTranslations()
{
- fixTranslation(setupActionData1, static_cast<int>(InputAction::SHORTCUT_1),
+ fixTranslation(setupActionDataShortcuts,
+ static_cast<int>(InputAction::SHORTCUT_1),
static_cast<int>(InputAction::SHORTCUT_20), "Item Shortcut %d");
- fixTranslation(setupActionData3, static_cast<int>(InputAction::EMOTE_1),
+ fixTranslation(setupActionDataEmotes, static_cast<int>(InputAction::EMOTE_1),
static_cast<int>(InputAction::EMOTE_48), "Emote Shortcut %d");
- fixTranslation(setupActionData4, static_cast<int>(InputAction::OUTFIT_1),
+ fixTranslation(setupActionDataOutfits, static_cast<int>(InputAction::OUTFIT_1),
static_cast<int>(InputAction::OUTFIT_48), "Outfit Shortcut %d");
- fixTranslation(setupActionData7, static_cast<int>(
+ fixTranslation(setupActionDataMove, static_cast<int>(
InputAction::MOVE_TO_POINT_1),
static_cast<int>(InputAction::MOVE_TO_POINT_48),
"Move to point Shortcut %d");