summaryrefslogtreecommitdiff
path: root/src/gui/stats.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/stats.cpp')
-rw-r--r--src/gui/stats.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/stats.cpp b/src/gui/stats.cpp
index eebfab70..d8ea9c34 100644
--- a/src/gui/stats.cpp
+++ b/src/gui/stats.cpp
@@ -25,8 +25,8 @@
extern PLAYER_INFO *char_info;
-StatsWindow::StatsWindow(gcn::Container *parent)
- : Window(parent, "Stats")
+StatsWindow::StatsWindow():
+ Window("Stats")
{
// New labels
for (i = 0; i < 6; i++) {
@@ -91,7 +91,7 @@ StatsWindow::~StatsWindow() {
StatsWindow * StatsWindow::ptr = NULL;
StatsWindow * StatsWindow::create_statswindow() {
if (ptr == NULL) {
- ptr = new StatsWindow(guiTop);
+ ptr = new StatsWindow();
}
else {
ptr->setVisible(true);