diff options
author | Björn Steinbrink <B.Steinbrink@gmx.de> | 2006-02-23 16:02:00 +0000 |
---|---|---|
committer | Björn Steinbrink <B.Steinbrink@gmx.de> | 2006-02-23 16:02:00 +0000 |
commit | 05a12d5568111fa13759026442ed358605bf9a28 (patch) | |
tree | 9948a2351c846dee1b36f25a90d1429aa78dda23 /src/gui/windowcontainer.cpp | |
parent | 3737fb9fd3ff6072f83bdc514f88ad0fdbf4da6c (diff) | |
download | mana-05a12d5568111fa13759026442ed358605bf9a28.tar.gz mana-05a12d5568111fa13759026442ed358605bf9a28.tar.bz2 mana-05a12d5568111fa13759026442ed358605bf9a28.tar.xz mana-05a12d5568111fa13759026442ed358605bf9a28.zip |
A bunch of mostly cosmetic cleanups.
Diffstat (limited to 'src/gui/windowcontainer.cpp')
-rw-r--r-- | src/gui/windowcontainer.cpp | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/src/gui/windowcontainer.cpp b/src/gui/windowcontainer.cpp index b79e39de..3803b652 100644 --- a/src/gui/windowcontainer.cpp +++ b/src/gui/windowcontainer.cpp @@ -23,23 +23,17 @@ #include "windowcontainer.h" -WindowContainer::WindowContainer() -{ -} - void WindowContainer::logic() { - std::list<gcn::Widget*>::iterator i = deathList.begin(); - for (i= deathList.begin(); i != deathList.end(); i++) { + for (WidgetIterator i = mDeathList.begin(); i != mDeathList.end(); i++) { delete (*i); } - - deathList.clear(); + mDeathList.clear(); gcn::Container::logic(); } void WindowContainer::scheduleDelete(gcn::Widget *widget) { - deathList.push_back(widget); + mDeathList.push_back(widget); } |