From ce2813cb1f4988669422c6af3e8c4442776e45c8 Mon Sep 17 00:00:00 2001
From: Björn Steinbrink <B.Steinbrink@gmx.de>
Date: Thu, 20 Oct 2005 11:33:17 +0000
Subject: Added garbage collection to the ScrollArea class. Fixed slider not
 being updated in the item amount box when the buttons are used.

---
 src/gui/npc_text.cpp | 5 -----
 1 file changed, 5 deletions(-)

(limited to 'src/gui/npc_text.cpp')

diff --git a/src/gui/npc_text.cpp b/src/gui/npc_text.cpp
index 12032850..f4bdfb0f 100644
--- a/src/gui/npc_text.cpp
+++ b/src/gui/npc_text.cpp
@@ -58,11 +58,6 @@ NpcTextDialog::NpcTextDialog():
     setLocationRelativeTo(getParent());
 }
 
-NpcTextDialog::~NpcTextDialog()
-{
-    delete textBox;
-}
-
 void
 NpcTextDialog::setText(const char *text)
 {
-- 
cgit v1.2.3-70-g09d2