diff options
Diffstat (limited to 'src/gui/windows')
-rw-r--r-- | src/gui/windows/whoisonline.cpp | 4 | ||||
-rw-r--r-- | src/gui/windows/whoisonline.h | 2 |
2 files changed, 6 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); diff --git a/src/gui/windows/whoisonline.h b/src/gui/windows/whoisonline.h index 847cd0f32..a986b73d0 100644 --- a/src/gui/windows/whoisonline.h +++ b/src/gui/windows/whoisonline.h @@ -118,6 +118,8 @@ public: */ ~WhoIsOnline(); + void postInit(); + /** * Loads and display online list from the memory buffer. */ |