summaryrefslogtreecommitdiff
path: root/src/gui/requesttrade.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/requesttrade.cpp')
-rw-r--r--src/gui/requesttrade.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/gui/requesttrade.cpp b/src/gui/requesttrade.cpp
index 6c7ef2ce..075567af 100644
--- a/src/gui/requesttrade.cpp
+++ b/src/gui/requesttrade.cpp
@@ -75,15 +75,6 @@ RequestTradeDialog::RequestTradeDialog(const std::string &name):
setLocationRelativeTo(getParent());
}
-RequestTradeDialog::~RequestTradeDialog()
-{
- delete acceptButton;
- delete cancelButton;
- for (int i = 0; i < 2; i++) {
- delete nameLabel[i];
- }
-}
-
void RequestTradeDialog::action(const std::string& eventId)
{
int choice = 4; // 4 means trade canceled