summaryrefslogtreecommitdiff
path: root/src/gui/windows/whoisonline.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-19 14:50:37 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-19 15:12:25 +0300
commite779e35c2405549e15bc64822dc3f696ff4357f5 (patch)
tree1729ee852e133de6e0f3b654728f26e238e205a3 /src/gui/windows/whoisonline.cpp
parent804867a6bbf0f7ce51f72bcccd355eaadef418c6 (diff)
downloadmanaplus-e779e35c2405549e15bc64822dc3f696ff4357f5.tar.gz
manaplus-e779e35c2405549e15bc64822dc3f696ff4357f5.tar.bz2
manaplus-e779e35c2405549e15bc64822dc3f696ff4357f5.tar.xz
manaplus-e779e35c2405549e15bc64822dc3f696ff4357f5.zip
move virtual member calls from whoisonline constructor into postInit.
Diffstat (limited to 'src/gui/windows/whoisonline.cpp')
-rw-r--r--src/gui/windows/whoisonline.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/windows/whoisonline.cpp b/src/gui/windows/whoisonline.cpp
index 68979a682..fe76c7ea5 100644
--- a/src/gui/windows/whoisonline.cpp
+++ b/src/gui/windows/whoisonline.cpp
@@ -101,10 +101,14 @@ WhoIsOnline::WhoIsOnline() :
{
mCurlError[0] = 0;
setWindowName("WhoIsOnline");
+}
+void WhoIsOnline::postInit()
+{
const int h = 350;
const int w = 200;
setDefaultSize(w, h, ImageRect::CENTER);
+
setVisible(false);
setCloseButton(true);
setResizable(true);