summaryrefslogtreecommitdiff
path: root/src/gui/item_amount.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/item_amount.cpp')
-rw-r--r--src/gui/item_amount.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/gui/item_amount.cpp b/src/gui/item_amount.cpp
index b313b98c..4620ed81 100644
--- a/src/gui/item_amount.cpp
+++ b/src/gui/item_amount.cpp
@@ -99,16 +99,6 @@ ItemAmountWindow::ItemAmountWindow(int usage, Window *parent, Item *item):
setLocationRelativeTo(getParentWindow());
}
-ItemAmountWindow::~ItemAmountWindow()
-{
- delete mItemAmountTextBox;
- delete mItemAmountPlusButton;
- delete mItemAmountMinusButton;
- delete mItemAmountSlide;
- delete mItemAmountOkButton;
- delete mItemAmountCancelButton;
-}
-
void ItemAmountWindow::resetAmount()
{
mItemAmountTextBox->setInt(1);