diff options
author | Björn Steinbrink <B.Steinbrink@gmx.de> | 2005-10-18 21:40:25 +0000 |
---|---|---|
committer | Björn Steinbrink <B.Steinbrink@gmx.de> | 2005-10-18 21:40:25 +0000 |
commit | aa6a0b7b75bc05e51805b6f377ca6278f1f58436 (patch) | |
tree | 718c211089348a3b67641d16821a98ae88de0285 /src/gui/newskill.cpp | |
parent | d0333c99e0ff4c5510875bf8993056875d6c93af (diff) | |
download | mana-aa6a0b7b75bc05e51805b6f377ca6278f1f58436.tar.gz mana-aa6a0b7b75bc05e51805b6f377ca6278f1f58436.tar.bz2 mana-aa6a0b7b75bc05e51805b6f377ca6278f1f58436.tar.xz mana-aa6a0b7b75bc05e51805b6f377ca6278f1f58436.zip |
Added automatic widget cleanup to the window class.
Diffstat (limited to 'src/gui/newskill.cpp')
-rw-r--r-- | src/gui/newskill.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/gui/newskill.cpp b/src/gui/newskill.cpp index ec080d81..0baf81a5 100644 --- a/src/gui/newskill.cpp +++ b/src/gui/newskill.cpp @@ -168,21 +168,6 @@ NewSkillDialog::NewSkillDialog(): setLocationRelativeTo(getParent()); } -NewSkillDialog::~NewSkillDialog() -{ - for (int i = 0; i < N_SKILL_CAT_SIZE; i++) - { - delete skillbar[i]; - delete skillLabel[i]; - delete skillLevel[i]; - } - for (int i = 0; i < N_SKILL_CAT; i++) - { - delete catButton[i]; - } - delete closeButton; -} - void NewSkillDialog::action(const std::string& eventId) { int osp = startPoint; |