From ce2813cb1f4988669422c6af3e8c4442776e45c8 Mon Sep 17 00:00:00 2001 From: Björn Steinbrink Date: Thu, 20 Oct 2005 11:33:17 +0000 Subject: Added garbage collection to the ScrollArea class. Fixed slider not being updated in the item amount box when the buttons are used. --- src/gui/char_select.cpp | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'src/gui/char_select.cpp') diff --git a/src/gui/char_select.cpp b/src/gui/char_select.cpp index 0123251b..86e2b12f 100644 --- a/src/gui/char_select.cpp +++ b/src/gui/char_select.cpp @@ -347,21 +347,6 @@ CharCreateDialog::CharCreateDialog(Window *parent): setLocationRelativeTo(getParent()); } -CharCreateDialog::~CharCreateDialog() -{ - delete nameField; - delete nameLabel; - delete nextHairColorButton; - delete prevHairColorButton; - delete hairColorLabel; - delete nextHairStyleButton; - delete prevHairStyleButton; - delete hairStyleLabel; - delete createButton; - delete cancelButton; - delete playerBox; -} - void CharCreateDialog::action(const std::string& eventId) { if (eventId == "create") { -- cgit v1.2.3-70-g09d2