diff options
author | Stefan Beller <stefanbeller@googlemail.com> | 2012-08-02 23:38:06 +0200 |
---|---|---|
committer | Stefan Beller <stefanbeller@googlemail.com> | 2012-08-02 23:38:06 +0200 |
commit | a4bdd8f7bef9ce0002a9015e0ebc9c4cb8dd3614 (patch) | |
tree | 4e86324c312f2d78b261d88d5b470a4a7cbf9f94 /src | |
parent | d2df9cfb227ab8d6a302183c5f4a3377bb8f5140 (diff) | |
download | mana-a4bdd8f7bef9ce0002a9015e0ebc9c4cb8dd3614.tar.gz mana-a4bdd8f7bef9ce0002a9015e0ebc9c4cb8dd3614.tar.bz2 mana-a4bdd8f7bef9ce0002a9015e0ebc9c4cb8dd3614.tar.xz mana-a4bdd8f7bef9ce0002a9015e0ebc9c4cb8dd3614.zip |
Removing constructor of DebugSwitches.
The class DebugSwitches is a derived class from Container, 'which
automatically deletes its child widgets, so there is no need for
such fragile cleanup code.'
acked-by: bjorn
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/debugwindow.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/gui/debugwindow.cpp b/src/gui/debugwindow.cpp index 13babb73..cb871b44 100644 --- a/src/gui/debugwindow.cpp +++ b/src/gui/debugwindow.cpp @@ -179,21 +179,6 @@ public: mSpecial3->addActionListener(this); } - ~DebugSwitches() - { - delete mGrid; - delete mCollisionTiles; - delete mBeingCollisionRadius; - delete mBeingPosition; - delete mBeingPath; - delete mMousePath; - delete mBeingIds; - delete mSpecialNormal; - delete mSpecial1; - delete mSpecial2; - delete mSpecial3; - } - void action(const gcn::ActionEvent &event) { int flags = 0; |