diff options
author | Xiaohong Bao <bao@lindenlab.com> | 2011-01-28 21:43:28 -0700 |
---|---|---|
committer | Xiaohong Bao <bao@lindenlab.com> | 2011-01-28 21:43:28 -0700 |
commit | fe253e6ec6f77a7967cadd6efd76b2fbbef4e2da (patch) | |
tree | 1718b5344c34b752802879062910c0cc63e64028 /indra/newview/llfirstuse.h | |
parent | 403b509f3aac52c25d6207f35db5fed96a953a88 (diff) |
merge the changeset 4de3178c6c81 from viewer-development: fixed the major memory leaking for SH-723/SH-847: memoy leaking
Diffstat (limited to 'indra/newview/llfirstuse.h')
-rw-r--r-- | indra/newview/llfirstuse.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/indra/newview/llfirstuse.h b/indra/newview/llfirstuse.h index 81659988e6..489f58626a 100644 --- a/indra/newview/llfirstuse.h +++ b/indra/newview/llfirstuse.h @@ -78,11 +78,11 @@ class LLFirstUse public: // Add a config variable to be reset on resetFirstUse() - static void addConfigVariable(const std::string& var); + //static void addConfigVariable(const std::string& var); // Sets all controls back to show the dialogs. - static void disableFirstUse(); - static void resetFirstUse(); + //static void disableFirstUse(); + //static void resetFirstUse(); static void otherAvatarChatFirst(bool enable = true); static void sit(bool enable = true); @@ -98,7 +98,8 @@ public: protected: static void firstUseNotification(const std::string& control_var, bool enable, const std::string& notification_name, LLSD args = LLSD(), LLSD payload = LLSD()); - static std::set<std::string> sConfigVariables; + //static std::set<std::string> sConfigVariables; + static std::set<std::string> sConfigVariablesEnabled; static void init(); static bool processNotification(const LLSD& notify); |