summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-05-02 02:53:29 +0300
committerAndrei Karas <akaras@inbox.ru>2017-05-02 02:53:29 +0300
commit8736063af755af42cdbaa2cbb5453bc3e3f7b950 (patch)
treee4c8982367b1c7b5c4e7125d41201361fad907e0 /src/gui
parentf0839fef06dd7bd38293030f2a1804de8935de5c (diff)
downloadmv-8736063af755af42cdbaa2cbb5453bc3e3f7b950.tar.gz
mv-8736063af755af42cdbaa2cbb5453bc3e3f7b950.tar.bz2
mv-8736063af755af42cdbaa2cbb5453bc3e3f7b950.tar.xz
mv-8736063af755af42cdbaa2cbb5453bc3e3f7b950.zip
Fix compilation error without tmwa.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/windows/whoisonline.cpp4
-rw-r--r--src/gui/windows/whoisonline.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/windows/whoisonline.cpp b/src/gui/windows/whoisonline.cpp
index 119b31664..18e18a101 100644
--- a/src/gui/windows/whoisonline.cpp
+++ b/src/gui/windows/whoisonline.cpp
@@ -119,10 +119,10 @@ WhoIsOnline::WhoIsOnline() :
mShowLevel(false),
mUpdateOnlineList(config.getBoolValue("updateOnlineList")),
mGroupFriends(true),
- mServerSideList(serverFeatures->haveServerOnlineList()),
#ifdef TMWA_SUPPORT
- mWebList(Net::getNetworkType() == ServerType::TMWATHENA)
+ mWebList(Net::getNetworkType() == ServerType::TMWATHENA),
#endif
+ mServerSideList(serverFeatures->haveServerOnlineList())
{
mCurlError[0] = 0;
setWindowName("WhoIsOnline");
diff --git a/src/gui/windows/whoisonline.h b/src/gui/windows/whoisonline.h
index 4ba71b49f..5f29971c6 100644
--- a/src/gui/windows/whoisonline.h
+++ b/src/gui/windows/whoisonline.h
@@ -171,10 +171,10 @@ class WhoIsOnline final : public Window,
bool mShowLevel;
bool mUpdateOnlineList;
bool mGroupFriends;
- bool mServerSideList;
#ifdef TMWA_SUPPORT
bool mWebList;
#endif
+ bool mServerSideList;
};
extern WhoIsOnline *whoIsOnline;