summaryrefslogtreecommitdiff
path: root/src/gui/windows/serverdialog.h
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.h
parent938bda786f0fe21c37a222f1ff1dfff7fcdcb538 (diff)
downloadplus-5ae6d3b29f93fe2bd7222eb843c8688561ac612c.tar.gz
plus-5ae6d3b29f93fe2bd7222eb843c8688561ac612c.tar.bz2
plus-5ae6d3b29f93fe2bd7222eb843c8688561ac612c.tar.xz
plus-5ae6d3b29f93fe2bd7222eb843c8688561ac612c.zip
improve variables order in windows.
Diffstat (limited to 'src/gui/windows/serverdialog.h')
-rw-r--r--src/gui/windows/serverdialog.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/gui/windows/serverdialog.h b/src/gui/windows/serverdialog.h
index 39c82279e..7c3a05ab3 100644
--- a/src/gui/windows/serverdialog.h
+++ b/src/gui/windows/serverdialog.h
@@ -118,6 +118,8 @@ class ServerDialog final : public Window,
size_t total, size_t remaining);
Mutex mMutex;
+ ServerInfos mServers;
+ const std::string &mDir;
Label *mDescription;
Button *mQuitButton;
Button *mConnectButton;
@@ -125,13 +127,9 @@ class ServerDialog final : public Window,
Button *mEditEntryButton;
Button *mDeleteButton;
Button *mLoadButton;
-
- ServerInfos mServers;
ServersListModel *mServersListModel;
ListBox *mServersList;
- const std::string &mDir;
-
enum ServerDialogDownloadStatus
{
DOWNLOADING_UNKNOWN = 0,
@@ -144,11 +142,11 @@ class ServerDialog final : public Window,
};
/** Status of the current download. */
- ServerDialogDownloadStatus mDownloadStatus;
Net::Download *mDownload;
- float mDownloadProgress;
ServerInfo *mServerInfo;
CheckBox *mPersistentIPCheckBox;
+ float mDownloadProgress;
+ ServerDialogDownloadStatus mDownloadStatus;
};
#endif // GUI_WINDOWS_SERVERDIALOG_H