diff options
author | Ben Boeckel <MathStuf@gmail.com> | 2009-04-19 01:10:55 -0400 |
---|---|---|
committer | Ben Boeckel <MathStuf@gmail.com> | 2009-04-19 01:10:55 -0400 |
commit | 5704a38733a00bc0ea972fd8ff147dd3145ec0d1 (patch) | |
tree | 6c8fa162d27ac386536f001eb1193910ebd1bf14 /sigmodr/tree/AbilityGroupModel.cpp | |
parent | c5ae07d7b5ee170672bc59365091ad3ac7099823 (diff) | |
download | sigen-5704a38733a00bc0ea972fd8ff147dd3145ec0d1.tar.gz sigen-5704a38733a00bc0ea972fd8ff147dd3145ec0d1.tar.xz sigen-5704a38733a00bc0ea972fd8ff147dd3145ec0d1.zip |
Call base method for deletion of children
Diffstat (limited to 'sigmodr/tree/AbilityGroupModel.cpp')
-rw-r--r-- | sigmodr/tree/AbilityGroupModel.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sigmodr/tree/AbilityGroupModel.cpp b/sigmodr/tree/AbilityGroupModel.cpp index 19976295..fc3690e1 100644 --- a/sigmodr/tree/AbilityGroupModel.cpp +++ b/sigmodr/tree/AbilityGroupModel.cpp @@ -86,8 +86,6 @@ void AbilityGroupModel::deleteObject(BaseModel* model) if (0 <= index) { qobject_cast<Game*>(m_object)->deleteAbility(index); - m_objects[index]->deleteLater(); - m_objects.removeAt(index); - childRowChanged(index); + removeChild(index); } } |