summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-03-25 22:53:23 +0100
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-03-25 22:53:23 +0100
commitd2bec790d7a1d5a0adc9f97ec24f085cf86e3238 (patch)
tree3b4feda7d58abe43247358f8465e496b4946648f /src/gui
parentcc79f0fe21e1a2ef73cbe987d54e848b9a47142d (diff)
downloadmana-d2bec790d7a1d5a0adc9f97ec24f085cf86e3238.tar.gz
mana-d2bec790d7a1d5a0adc9f97ec24f085cf86e3238.tar.bz2
mana-d2bec790d7a1d5a0adc9f97ec24f085cf86e3238.tar.xz
mana-d2bec790d7a1d5a0adc9f97ec24f085cf86e3238.zip
Don't crash cause of deleting a model twice
This reverts commit c2e4a7a70971355f1446bb01053af8a1da8c98e1.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/widgets/dropdown.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gui/widgets/dropdown.cpp b/src/gui/widgets/dropdown.cpp
index b736591c..aa1638b6 100644
--- a/src/gui/widgets/dropdown.cpp
+++ b/src/gui/widgets/dropdown.cpp
@@ -107,9 +107,6 @@ DropDown::~DropDown()
for_each(skin.grid, skin.grid + 9, dtor<Image*>());
}
-
- gcn::ListModel *listModel = getListModel();
- if (listModel) delete listModel;
}
void DropDown::draw(gcn::Graphics* graphics)