misc cleanup
parent
f8182738cc
commit
00700bd44d
|
|
@ -307,13 +307,13 @@ LLFloaterPreference::LLFloaterPreference(const LLSD& key)
|
|||
mCommitCallbackRegistrar.add("Pref.BlockList", boost::bind(&LLFloaterPreference::onClickBlockList, this));
|
||||
|
||||
sSkin = gSavedSettings.getString("SkinCurrent");
|
||||
//prep
|
||||
|
||||
LLAvatarPropertiesProcessor::getInstance()->addObserver( gAgent.getID(), this );
|
||||
LLAvatarPropertiesProcessor::getInstance()->sendAvatarPropertiesRequest( gAgent.getID() );
|
||||
}
|
||||
|
||||
|
||||
//prep
|
||||
|
||||
void LLFloaterPreference::processProperties( void* pData, EAvatarProcessorType type )
|
||||
{
|
||||
if ( APT_PROPERTIES == type )
|
||||
|
|
@ -493,7 +493,6 @@ void LLFloaterPreference::apply()
|
|||
}
|
||||
}
|
||||
|
||||
//prep
|
||||
saveAvatarProperties();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -78,7 +78,6 @@ public:
|
|||
// translate user's busy response message according to current locale if message is default, otherwise do nothing
|
||||
static void initBusyResponse();
|
||||
|
||||
//prep
|
||||
void processProperties( void* pData, EAvatarProcessorType type );
|
||||
void processProfileProperties(const LLAvatarData* pAvatarData );
|
||||
void storeAvatarProperties( const LLAvatarData* pAvatarData );
|
||||
|
|
@ -157,7 +156,7 @@ private:
|
|||
|
||||
bool mOriginalHideOnlineStatus;
|
||||
std::string mDirectoryVisibility;
|
||||
//prep
|
||||
|
||||
LLAvatarData mAvatarProperties;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue