summaryrefslogtreecommitdiff
path: root/src/gui/widgets/itemshortcutcontainer.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-18 19:47:28 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-18 19:47:28 +0300
commit7da95c7f4da447876458a0b1a17736b9a2865844 (patch)
tree4b6ac0ab5bc32a11234a5363de95d0cfec8cb7d5 /src/gui/widgets/itemshortcutcontainer.cpp
parent515ce6c1413b5e3da131f3e4997abdc39c003a2c (diff)
downloadmanaverse-7da95c7f4da447876458a0b1a17736b9a2865844.tar.gz
manaverse-7da95c7f4da447876458a0b1a17736b9a2865844.tar.bz2
manaverse-7da95c7f4da447876458a0b1a17736b9a2865844.tar.xz
manaverse-7da95c7f4da447876458a0b1a17736b9a2865844.zip
Move inputaction into separate file.
Diffstat (limited to 'src/gui/widgets/itemshortcutcontainer.cpp')
-rw-r--r--src/gui/widgets/itemshortcutcontainer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/itemshortcutcontainer.cpp b/src/gui/widgets/itemshortcutcontainer.cpp
index a993afcd0..4cf0e76f7 100644
--- a/src/gui/widgets/itemshortcutcontainer.cpp
+++ b/src/gui/widgets/itemshortcutcontainer.cpp
@@ -149,7 +149,7 @@ void ItemShortcutContainer::draw(Graphics *graphics)
// Draw item keyboard shortcut.
const std::string key = inputManager.getKeyValueString(
- Input::KEY_SHORTCUT_1 + i);
+ InputAction::SHORTCUT_1 + i);
graphics->setColorAll(mForegroundColor, mForegroundColor);
font->drawString(graphics, key, itemX + 2, itemY + 2);