summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/statuswindow.cpp6
-rw-r--r--src/gui/statuswindow.h2
2 files changed, 2 insertions, 6 deletions
diff --git a/src/gui/statuswindow.cpp b/src/gui/statuswindow.cpp
index 18f1ceb3..4df474a7 100644
--- a/src/gui/statuswindow.cpp
+++ b/src/gui/statuswindow.cpp
@@ -199,14 +199,10 @@ void StatusWindow::update()
update();
}
-std::string StatusWindow::update(int id)
+void StatusWindow::update(int id)
{
// TODO: only update what changed
update();
-
- // FIXME: Added the return value to be able to compile, haven't got a
- // clue what it is supposed to return (Kess, July 2009)
- return "";
}
void StatusWindow::addAttribute(int id, const std::string &name,
diff --git a/src/gui/statuswindow.h b/src/gui/statuswindow.h
index d5bd8fd6..b7623806 100644
--- a/src/gui/statuswindow.h
+++ b/src/gui/statuswindow.h
@@ -54,7 +54,7 @@ class StatusWindow : public Window, public gcn::ActionListener
*/
void update();
- std::string update(int id);
+ void update(int id);
void addAttribute(int id, const std::string &name, bool modifiable);