summaryrefslogtreecommitdiff
path: root/src/gui/windows/serverdialog.h
diff options
context:
space:
mode:
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