summaryrefslogtreecommitdiff
path: root/src/gui/serverdialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/serverdialog.h')
-rw-r--r--src/gui/serverdialog.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/serverdialog.h b/src/gui/serverdialog.h
index d0ef0e55..4bb201a5 100644
--- a/src/gui/serverdialog.h
+++ b/src/gui/serverdialog.h
@@ -159,13 +159,13 @@ class ServerDialog : public Window,
};
/** Status of the current download. */
- ServerDialogDownloadStatus mDownloadStatus;
+ ServerDialogDownloadStatus mDownloadStatus = DOWNLOADING_PREPARING;
- Net::Download *mDownload;
- Label *mDownloadText;
+ Net::Download *mDownload = nullptr;
+ Label *mDownloadText;
Mutex mMutex;
- float mDownloadProgress;
+ float mDownloadProgress = -1.0f;
ServerInfos mServers;
ServerInfo *mServerInfo;