summaryrefslogtreecommitdiff
path: root/src/gui/skill.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/skill.cpp')
-rw-r--r--src/gui/skill.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/gui/skill.cpp b/src/gui/skill.cpp
index c2e09819..72790f6a 100644
--- a/src/gui/skill.cpp
+++ b/src/gui/skill.cpp
@@ -111,17 +111,12 @@ SkillDialog::SkillDialog():
SkillDialog::~SkillDialog()
{
delete skillListBox;
- delete skillScrollArea;
- delete pointsLabel;
- delete incButton;
- delete closeButton;
- delete useButton;
for (int i = skillList.size() - 1; i >= 0; i--)
{
delete skillList[i];
- skillList.pop_back();
}
+ skillList.clear();
}
void SkillDialog::action(const std::string& eventId)