diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-04-10 01:53:05 +0200 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-04-10 01:55:54 +0200 |
commit | 07e8a1b8408ed40cbf2031476627647057f62141 (patch) | |
tree | 688aa64341cb0dee0a5ea51acc16a28ddf3ea5c5 /src/gui/itempopup.cpp | |
parent | b4ebdcf0622ce297704887cf0d653079a1fbcf1e (diff) | |
download | mana-07e8a1b8408ed40cbf2031476627647057f62141.tar.gz mana-07e8a1b8408ed40cbf2031476627647057f62141.tar.bz2 mana-07e8a1b8408ed40cbf2031476627647057f62141.tar.xz mana-07e8a1b8408ed40cbf2031476627647057f62141.zip |
Some cleanup of the equipment window code
Also removed some unnecessary delete statements, since the Popup class
already deletes its children and the ScrollArea already deletes its
content.
Diffstat (limited to 'src/gui/itempopup.cpp')
-rw-r--r-- | src/gui/itempopup.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/gui/itempopup.cpp b/src/gui/itempopup.cpp index 278b06e2..6c994aca 100644 --- a/src/gui/itempopup.cpp +++ b/src/gui/itempopup.cpp @@ -91,13 +91,6 @@ ItemPopup::ItemPopup(): ItemPopup::~ItemPopup() { - delete mItemName; - delete mItemDesc; - delete mItemDescScroll; - delete mItemEffect; - delete mItemEffectScroll; - delete mItemWeight; - delete mItemWeightScroll; } void ItemPopup::setItem(const ItemInfo &item) |