diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-04-15 23:32:28 +0200 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-04-15 23:37:32 +0200 |
commit | fe25bc152de747eb64a1c1f6084f0399faf125e8 (patch) | |
tree | 83746ebff16b87ad36c71908667ed1a81489ebe6 /src/gui/serverdialog.h | |
parent | ddd7f8acbbfbe7cf2787279babdb5c1279c7fd73 (diff) | |
download | mana-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.h | 2 |
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; |