summaryrefslogtreecommitdiff
path: root/src/gui/status.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/status.cpp')
-rw-r--r--src/gui/status.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/status.cpp b/src/gui/status.cpp
index bba9f045..9c60752d 100644
--- a/src/gui/status.cpp
+++ b/src/gui/status.cpp
@@ -338,8 +338,10 @@ void StatusWindow::draw(gcn::Graphics *g)
Window::draw(g);
}
-void StatusWindow::action(const std::string &eventId, gcn::Widget *widget)
+void StatusWindow::action(const gcn::ActionEvent &event)
{
+ const std::string &eventId = event.getId();
+
// Stats Part
if (eventId.length() == 3)
{