Skip to content
Snippets Groups Projects
Commit 00700bd4 authored by prep linden's avatar prep linden
Browse files

misc cleanup

parent f8182738
No related branches found
No related tags found
No related merge requests found
...@@ -307,13 +307,13 @@ LLFloaterPreference::LLFloaterPreference(const LLSD& key) ...@@ -307,13 +307,13 @@ LLFloaterPreference::LLFloaterPreference(const LLSD& key)
mCommitCallbackRegistrar.add("Pref.BlockList", boost::bind(&LLFloaterPreference::onClickBlockList, this)); mCommitCallbackRegistrar.add("Pref.BlockList", boost::bind(&LLFloaterPreference::onClickBlockList, this));
sSkin = gSavedSettings.getString("SkinCurrent"); sSkin = gSavedSettings.getString("SkinCurrent");
//prep
LLAvatarPropertiesProcessor::getInstance()->addObserver( gAgent.getID(), this ); LLAvatarPropertiesProcessor::getInstance()->addObserver( gAgent.getID(), this );
LLAvatarPropertiesProcessor::getInstance()->sendAvatarPropertiesRequest( gAgent.getID() ); LLAvatarPropertiesProcessor::getInstance()->sendAvatarPropertiesRequest( gAgent.getID() );
} }
//prep
void LLFloaterPreference::processProperties( void* pData, EAvatarProcessorType type ) void LLFloaterPreference::processProperties( void* pData, EAvatarProcessorType type )
{ {
if ( APT_PROPERTIES == type ) if ( APT_PROPERTIES == type )
...@@ -493,7 +493,6 @@ void LLFloaterPreference::apply() ...@@ -493,7 +493,6 @@ void LLFloaterPreference::apply()
} }
} }
//prep
saveAvatarProperties(); saveAvatarProperties();
} }
......
...@@ -78,7 +78,6 @@ class LLFloaterPreference : public LLFloater, public LLAvatarPropertiesObserver ...@@ -78,7 +78,6 @@ class LLFloaterPreference : public LLFloater, public LLAvatarPropertiesObserver
// translate user's busy response message according to current locale if message is default, otherwise do nothing // translate user's busy response message according to current locale if message is default, otherwise do nothing
static void initBusyResponse(); static void initBusyResponse();
//prep
void processProperties( void* pData, EAvatarProcessorType type ); void processProperties( void* pData, EAvatarProcessorType type );
void processProfileProperties(const LLAvatarData* pAvatarData ); void processProfileProperties(const LLAvatarData* pAvatarData );
void storeAvatarProperties( const LLAvatarData* pAvatarData ); void storeAvatarProperties( const LLAvatarData* pAvatarData );
...@@ -157,7 +156,7 @@ class LLFloaterPreference : public LLFloater, public LLAvatarPropertiesObserver ...@@ -157,7 +156,7 @@ class LLFloaterPreference : public LLFloater, public LLAvatarPropertiesObserver
bool mOriginalHideOnlineStatus; bool mOriginalHideOnlineStatus;
std::string mDirectoryVisibility; std::string mDirectoryVisibility;
//prep
LLAvatarData mAvatarProperties; LLAvatarData mAvatarProperties;
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment