summaryrefslogtreecommitdiff
path: root/src/gui/windows/serverdialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-03-13 20:33:37 +0300
committerAndrei Karas <akaras@inbox.ru>2014-03-13 20:33:37 +0300
commit5ae6d3b29f93fe2bd7222eb843c8688561ac612c (patch)
treebb531156ba9adb428fea2fae5b97f94d3198d70d /src/gui/windows/serverdialog.cpp
parent938bda786f0fe21c37a222f1ff1dfff7fcdcb538 (diff)
downloadmanaverse-5ae6d3b29f93fe2bd7222eb843c8688561ac612c.tar.gz
manaverse-5ae6d3b29f93fe2bd7222eb843c8688561ac612c.tar.bz2
manaverse-5ae6d3b29f93fe2bd7222eb843c8688561ac612c.tar.xz
manaverse-5ae6d3b29f93fe2bd7222eb843c8688561ac612c.zip
improve variables order in windows.
Diffstat (limited to 'src/gui/windows/serverdialog.cpp')
-rw-r--r--src/gui/windows/serverdialog.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/windows/serverdialog.cpp b/src/gui/windows/serverdialog.cpp
index a7e384cbd..112d1588d 100644
--- a/src/gui/windows/serverdialog.cpp
+++ b/src/gui/windows/serverdialog.cpp
@@ -193,6 +193,8 @@ ServerDialog::ServerDialog(ServerInfo *const serverInfo,
KeyListener(),
SelectionListener(),
mMutex(),
+ mServers(ServerInfos()),
+ mDir(dir),
mDescription(new Label(this, std::string())),
// TRANSLATORS: servers dialog button
mQuitButton(new Button(this, _("Quit"), "quit", this)),
@@ -206,15 +208,13 @@ ServerDialog::ServerDialog(ServerInfo *const serverInfo,
mDeleteButton(new Button(this, _("Delete"), "remove", this)),
// TRANSLATORS: servers dialog button
mLoadButton(new Button(this, _("Load"), "load", this)),
- mServers(ServerInfos()),
mServersListModel(new ServersListModel(&mServers, this)),
mServersList(new ServersListBox(this, mServersListModel)),
- mDir(dir),
- mDownloadStatus(DOWNLOADING_UNKNOWN),
mDownload(nullptr),
- mDownloadProgress(-1.0F),
mServerInfo(serverInfo),
- mPersistentIPCheckBox(nullptr)
+ mPersistentIPCheckBox(nullptr),
+ mDownloadProgress(-1.0F),
+ mDownloadStatus(DOWNLOADING_UNKNOWN)
{
mServersList->postInit();