From 1e1f619b9ae5aa26058c499c988f45d1fb1b6d53 Mon Sep 17 00:00:00 2001 From: Thorbjørn Lindeijer Date: Sat, 9 Apr 2011 00:11:54 +0200 Subject: Moved Channels to Mana::Event::Channel Acked-by: Jared Adams --- src/gui/statuswindow.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/gui/statuswindow.cpp') diff --git a/src/gui/statuswindow.cpp b/src/gui/statuswindow.cpp index a37c30ba..b124a883 100644 --- a/src/gui/statuswindow.cpp +++ b/src/gui/statuswindow.cpp @@ -96,7 +96,7 @@ class ChangeDisplay : public AttrDisplay, gcn::ActionListener StatusWindow::StatusWindow(): Window(player_node->getName()) { - listen(CHANNEL_ATTRIBUTES); + listen(Mana::Event::AttributesChannel); setWindowName("Status"); setupWindow->registerWindowForReset(this); @@ -217,7 +217,8 @@ StatusWindow::StatusWindow(): mLvlLabel->adjustSize(); } -void StatusWindow::event(Channels channel, const Mana::Event &event) +void StatusWindow::event(Mana::Event::Channel channel, + const Mana::Event &event) { if (event.getType() == Mana::Event::UpdateAttribute) { -- cgit v1.2.3-60-g2f50