summaryrefslogtreecommitdiff
path: root/src/gui/trade.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/trade.cpp')
-rw-r--r--src/gui/trade.cpp15
1 files changed, 2 insertions, 13 deletions
diff --git a/src/gui/trade.cpp b/src/gui/trade.cpp
index 818b8b61..bd8b95c5 100644
--- a/src/gui/trade.cpp
+++ b/src/gui/trade.cpp
@@ -106,10 +106,10 @@ TradeWindow::TradeWindow():
moneyField->setPosition(8 + 60, getHeight() - 20);
moneyField->setWidth(50);
-
+
moneyLabel->setPosition(8 + 60 + 50 + 6, getHeight() - 20);
moneyLabel2->setPosition(8, getHeight() - 20);
-
+
cancelButton->setPosition(getWidth() - 48, getHeight() - 49);
tradeButton->setPosition(cancelButton->getX() - 40
, getHeight() - 49);
@@ -136,19 +136,8 @@ TradeWindow::TradeWindow():
TradeWindow::~TradeWindow()
{
- delete addButton;
- delete okButton;
- delete cancelButton;
- delete tradeButton;
delete myItemContainer;
- delete myScroll;
delete partnerItemContainer;
- delete partnerScroll;
- delete itemNameLabel;
- delete itemDescriptionLabel;
- delete moneyField;
- delete moneyLabel;
- delete moneyLabel2;
delete myInventory;
delete partnerInventory;