summaryrefslogtreecommitdiff
path: root/src/gui/serverdialog.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-15 23:32:28 +0200
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-15 23:37:32 +0200
commitfe25bc152de747eb64a1c1f6084f0399faf125e8 (patch)
tree83746ebff16b87ad36c71908667ed1a81489ebe6 /src/gui/serverdialog.h
parentddd7f8acbbfbe7cf2787279babdb5c1279c7fd73 (diff)
downloadMana-fe25bc152de747eb64a1c1f6084f0399faf125e8.tar.gz
Mana-fe25bc152de747eb64a1c1f6084f0399faf125e8.tar.bz2
Mana-fe25bc152de747eb64a1c1f6084f0399faf125e8.tar.xz
Mana-fe25bc152de747eb64a1c1f6084f0399faf125e8.zip
Have the DropDown create its ScrollArea and ListBox
And also clean them up again. Fixes some memory leaks and simplifies the code. Also got rid of the basically unused "opaque" setting of DropDown.
Diffstat (limited to 'src/gui/serverdialog.h')
-rw-r--r--src/gui/serverdialog.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gui/serverdialog.h b/src/gui/serverdialog.h
index 0c75cede..93903c08 100644
--- a/src/gui/serverdialog.h
+++ b/src/gui/serverdialog.h
@@ -118,8 +118,6 @@ class ServerDialog : public Window, public gcn::ActionListener
gcn::Button *mCancelButton;
DropDown *mMostUsedServersDropDown;
- gcn::ListBox *mMostUsedServersListBox;
- gcn::ScrollArea *mMostUsedServersScrollArea;
ServersListModel *mMostUsedServersListModel;
LoginData *mLoginData;