diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-09-05 16:47:19 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-09-05 16:47:19 +0300 |
commit | 7ec8cec84e27c3460c6d51b3c58e0644de247102 (patch) | |
tree | 87029a85c0f9d153e232bbbc52e09d26792d4ebb /src/gui/whoisonline.cpp | |
parent | 62da739fc73e269959bbbe8a6b741f50c5e82238 (diff) | |
download | plus-7ec8cec84e27c3460c6d51b3c58e0644de247102.tar.gz plus-7ec8cec84e27c3460c6d51b3c58e0644de247102.tar.bz2 plus-7ec8cec84e27c3460c6d51b3c58e0644de247102.tar.xz plus-7ec8cec84e27c3460c6d51b3c58e0644de247102.zip |
Restore visible state for some windows after restart.
Diffstat (limited to 'src/gui/whoisonline.cpp')
-rw-r--r-- | src/gui/whoisonline.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/whoisonline.cpp b/src/gui/whoisonline.cpp index 1e9f686e4..ff855ed05 100644 --- a/src/gui/whoisonline.cpp +++ b/src/gui/whoisonline.cpp @@ -95,9 +95,11 @@ WhoIsOnline::WhoIsOnline(): const int w = 200; setDefaultSize(w, h, ImageRect::CENTER); // setContentSize(w, h); + setVisible(false); setCloseButton(true); setResizable(true); setStickyButtonLock(true); + setSaveVisible(true); mUpdateButton = new Button(_("Update"), "update", this); mUpdateButton->setEnabled(false); @@ -563,4 +565,4 @@ void WhoIsOnline::optionChanged(const std::string &name) { if (name == "updateOnlineList") mUpdateOnlineList = config.getBoolValue("updateOnlineList"); -}
\ No newline at end of file +} |