SL-17984 Small cleanup in profiles
parent
10eb8424af
commit
da8dcd70f9
|
|
@ -904,8 +904,6 @@ BOOL LLPanelProfileSecondLife::postBuild()
|
|||
mDiscardDescriptionChanges->setCommitCallback([this](LLUICtrl*, void*) { onDiscardDescriptionChanges(); }, nullptr);
|
||||
mDescriptionEdit->setKeystrokeCallback([this](LLTextEditor* caller) { onSetDescriptionDirty(); });
|
||||
|
||||
getChild<LLButton>("open_notes")->setCommitCallback([this](LLUICtrl*, void*) { onOpenNotes(); }, nullptr);
|
||||
|
||||
mCanSeeOnlineIcon->setMouseUpCallback([this](LLUICtrl*, S32 x, S32 y, MASK mask) { onShowAgentPermissionsDialog(); });
|
||||
mCantSeeOnlineIcon->setMouseUpCallback([this](LLUICtrl*, S32 x, S32 y, MASK mask) { onShowAgentPermissionsDialog(); });
|
||||
mCanSeeOnMapIcon->setMouseUpCallback([this](LLUICtrl*, S32 x, S32 y, MASK mask) { onShowAgentPermissionsDialog(); });
|
||||
|
|
@ -1955,23 +1953,6 @@ void LLPanelProfileSecondLife::onCommitProfileImage(const LLUUID& id)
|
|||
}
|
||||
}
|
||||
|
||||
void LLPanelProfileSecondLife::onOpenNotes()
|
||||
{
|
||||
LLFloater* parent_floater = gFloaterView->getParentFloater(this);
|
||||
if (!parent_floater)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
LLTabContainer* tab_container = parent_floater->findChild<LLTabContainer>("panel_profile_tabs", TRUE);
|
||||
if (!tab_container)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
tab_container->selectTabByName(PANEL_NOTES);
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
// LLPanelProfileWeb
|
||||
|
||||
|
|
|
|||
|
|
@ -184,7 +184,6 @@ private:
|
|||
void onShowAgentProfileTexture();
|
||||
void onShowTexturePicker();
|
||||
void onCommitProfileImage(const LLUUID& id);
|
||||
void onOpenNotes();
|
||||
|
||||
private:
|
||||
typedef std::map<std::string, LLUUID> group_map_t;
|
||||
|
|
|
|||
Loading…
Reference in New Issue