summaryrefslogtreecommitdiff
path: root/src/gui/itemamount.cpp
diff options
context:
space:
mode:
authorChuck Miller <shadowmil@gmail.com>2010-11-11 21:55:25 -0500
committerChuck Miller <shadowmil@gmail.com>2010-11-11 22:45:58 -0500
commit5727a2d9eeb0688a16e5b7fe32f6d9836c4f7a4e (patch)
tree994cdeb1187a94996ca38c5e274aabaa5f1fec76 /src/gui/itemamount.cpp
parent3dd1baab3fb00a3aa99447430f16a431a205c614 (diff)
downloadmana-client-5727a2d9eeb0688a16e5b7fe32f6d9836c4f7a4e.tar.gz
mana-client-5727a2d9eeb0688a16e5b7fe32f6d9836c4f7a4e.tar.bz2
mana-client-5727a2d9eeb0688a16e5b7fe32f6d9836c4f7a4e.tar.xz
mana-client-5727a2d9eeb0688a16e5b7fe32f6d9836c4f7a4e.zip
Have the event system channels use enums instead of strings
Reviewed-by: Freeyorp
Diffstat (limited to 'src/gui/itemamount.cpp')
-rw-r--r--src/gui/itemamount.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/itemamount.cpp b/src/gui/itemamount.cpp
index aed8d11d..bb8f95d0 100644
--- a/src/gui/itemamount.cpp
+++ b/src/gui/itemamount.cpp
@@ -59,7 +59,7 @@ void ItemAmountWindow::finish(Item *item, int amount, Usage usage)
event.setInt("amount", amount);
event.setInt("source", Inventory::INVENTORY);
event.setInt("destination", Inventory::STORAGE);
- event.trigger("Item");
+ event.trigger(CHANNEL_ITEM);
}
break;
case StoreRemove:
@@ -69,7 +69,7 @@ void ItemAmountWindow::finish(Item *item, int amount, Usage usage)
event.setInt("amount", amount);
event.setInt("source", Inventory::STORAGE);
event.setInt("destination", Inventory::INVENTORY);
- event.trigger("Item");
+ event.trigger(CHANNEL_ITEM);
}
break;
default: