summaryrefslogtreecommitdiff
path: root/src/gui/windows/whoisonline.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/whoisonline.cpp
parent938bda786f0fe21c37a222f1ff1dfff7fcdcb538 (diff)
downloadmv-5ae6d3b29f93fe2bd7222eb843c8688561ac612c.tar.gz
mv-5ae6d3b29f93fe2bd7222eb843c8688561ac612c.tar.bz2
mv-5ae6d3b29f93fe2bd7222eb843c8688561ac612c.tar.xz
mv-5ae6d3b29f93fe2bd7222eb843c8688561ac612c.zip
improve variables order in windows.
Diffstat (limited to 'src/gui/windows/whoisonline.cpp')
-rw-r--r--src/gui/windows/whoisonline.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/windows/whoisonline.cpp b/src/gui/windows/whoisonline.cpp
index 2052aeab3..a1683ffc8 100644
--- a/src/gui/windows/whoisonline.cpp
+++ b/src/gui/windows/whoisonline.cpp
@@ -79,16 +79,13 @@ class NameFunctuator final
WhoIsOnline::WhoIsOnline() :
// TRANSLATORS: who is online window name
Window(_("Who Is Online - Updating"), false, nullptr, "whoisonline.xml"),
+ mUpdateTimer(0),
mThread(nullptr),
- mDownloadStatus(UPDATE_LIST),
- mDownloadComplete(true),
- mDownloadedBytes(0),
mMemoryBuffer(nullptr),
mCurlError(new char[CURL_ERROR_SIZE]),
mBrowserBox(new BrowserBox(this, BrowserBox::AUTO_SIZE, true,
"onlinebrowserbox.xml")),
mScrollArea(new ScrollArea(this, mBrowserBox, false)),
- mUpdateTimer(0),
mOnlinePlayers(),
mOnlineNicks(),
// TRANSLATORS: who is online. button.
@@ -97,6 +94,9 @@ WhoIsOnline::WhoIsOnline() :
mNeutral(),
mDisregard(),
mEnemy(),
+ mDownloadedBytes(0),
+ mDownloadStatus(UPDATE_LIST),
+ mDownloadComplete(true),
mAllowUpdate(true),
mShowLevel(false),
mUpdateOnlineList(config.getBoolValue("updateOnlineList")),