From 30d4b0adf4f17f05d1d62fc3428c896ef1079b6b Mon Sep 17 00:00:00 2001 From: Thorbjørn Lindeijer Date: Sat, 9 Apr 2011 00:03:44 +0200 Subject: Moved Events to Mana::Event::Type Acked-by: Jared Adams --- src/gui/gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/gui.cpp') diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp index c0d1babf..500a2d74 100644 --- a/src/gui/gui.cpp +++ b/src/gui/gui.cpp @@ -61,7 +61,7 @@ class GuiConfigListener : public Mana::Listener { if (channel == CHANNEL_CONFIG) { - if (event.getName() == EVENT_CONFIGOPTIONCHANGED && + if (event.getType() == Mana::Event::ConfigOptionChanged && event.getString("option") == "customcursor") { bool bCustomCursor = config.getBoolValue("customcursor"); -- cgit v1.2.3-70-g09d2