diff options
Diffstat (limited to 'src/gui/debugwindow.cpp')
-rw-r--r-- | src/gui/debugwindow.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gui/debugwindow.cpp b/src/gui/debugwindow.cpp index b629ddab..a327eec3 100644 --- a/src/gui/debugwindow.cpp +++ b/src/gui/debugwindow.cpp @@ -54,10 +54,8 @@ DebugWindow::DebugWindow(): tileMouseLabel = new gcn::Label("[Mouse: 0, 0]"); tileMouseLabel->setPosition(100, 0); - Button *closeButton = new Button("Close"); - closeButton->setEventId("close"); + Button *closeButton = new Button("Close", "close", this); closeButton->setPosition(5, 60); - closeButton->addActionListener(this); add(FPSLabel); add(musicFileLabel); |