diff options
author | Xiaohong Bao <bao@lindenlab.com> | 2011-01-28 17:19:42 -0700 |
---|---|---|
committer | Xiaohong Bao <bao@lindenlab.com> | 2011-01-28 17:19:42 -0700 |
commit | c111288a23825de8e00d252f98652c362a054251 (patch) | |
tree | 7dd2f35332095db75447a5ac595847e7b3e4bbb3 /indra/newview/llfirstuse.h | |
parent | 2ca05d499633ab75aec84405314c1afda23512e2 (diff) |
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); |