summaryrefslogtreecommitdiff
path: root/src/gui/serverdialog.h
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2010-04-06 16:33:38 -0600
committerJared Adams <jaxad0127@gmail.com>2010-04-06 17:05:49 -0600
commitdb3bc0a260cd26ee58d53d2b0531d0c0c471ccd0 (patch)
treee0b24d1593e752df328aa0e7252efefee460dcb4 /src/gui/serverdialog.h
parentd17c63e1bb5579fb05c58f9abc3fb4be5bb9d58f (diff)
downloadmana-db3bc0a260cd26ee58d53d2b0531d0c0c471ccd0.tar.gz
mana-db3bc0a260cd26ee58d53d2b0531d0c0c471ccd0.tar.bz2
mana-db3bc0a260cd26ee58d53d2b0531d0c0c471ccd0.tar.xz
mana-db3bc0a260cd26ee58d53d2b0531d0c0c471ccd0.zip
Fix a crash when adding new servers
Reviewed-by: Chuck Miller
Diffstat (limited to 'src/gui/serverdialog.h')
-rw-r--r--src/gui/serverdialog.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gui/serverdialog.h b/src/gui/serverdialog.h
index 5b9d53fd..03ed0f7a 100644
--- a/src/gui/serverdialog.h
+++ b/src/gui/serverdialog.h
@@ -71,13 +71,8 @@ class ServersListModel : public gcn::ListModel
const ServerInfo &getServer(int elementIndex) const
{ return mServers->at(elementIndex); }
- const VersionString &getVersionString(int index) const
- { return mVersionStrings[index]; }
-
void setVersionString(int index, const std::string &version);
- void addServer(const ServerInfo &info, const std::string &version);
-
private:
typedef std::vector<VersionString> VersionStrings;