summaryrefslogtreecommitdiff
path: root/src/gui/windows/whoisonline.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/whoisonline.h')
-rw-r--r--src/gui/windows/whoisonline.h21
1 files changed, 11 insertions, 10 deletions
diff --git a/src/gui/windows/whoisonline.h b/src/gui/windows/whoisonline.h
index 271bf6ffd..915150409 100644
--- a/src/gui/windows/whoisonline.h
+++ b/src/gui/windows/whoisonline.h
@@ -189,18 +189,11 @@ private:
UPDATE_LIST
};
+ time_t mUpdateTimer;
+
/** A thread that use libcurl to download updates. */
SDL_Thread *mThread;
- /** Status of the current download. */
- DownloadStatus mDownloadStatus;
-
- /** Flag that show if current download is complete. */
- bool mDownloadComplete;
-
- /** Byte count currently downloaded in mMemoryBuffer. */
- int mDownloadedBytes;
-
/** Buffer for files downloaded to memory. */
char *mMemoryBuffer;
@@ -209,7 +202,6 @@ private:
BrowserBox *mBrowserBox;
ScrollArea *mScrollArea;
- time_t mUpdateTimer;
std::set<OnlinePlayer*> mOnlinePlayers;
std::set<std::string> mOnlineNicks;
@@ -218,6 +210,15 @@ private:
std::vector<OnlinePlayer*> mNeutral;
std::vector<OnlinePlayer*> mDisregard;
std::vector<OnlinePlayer*> mEnemy;
+
+ /** Byte count currently downloaded in mMemoryBuffer. */
+ int mDownloadedBytes;
+
+ /** Status of the current download. */
+ DownloadStatus mDownloadStatus;
+
+ /** Flag that show if current download is complete. */
+ bool mDownloadComplete;
bool mAllowUpdate;
bool mShowLevel;
bool mUpdateOnlineList;