Removed setCallbackUserData calls from the last few newview files
This commit is contained in:
@@ -414,7 +414,6 @@ BOOL LLPreviewGesture::postBuild()
|
||||
edit->setKeystrokeCallback(boost::bind(&onKeystrokeCommit,_1,this));
|
||||
edit->setCommitCallback(boost::bind(&LLPreviewGesture::onCommitSetDirty,this));
|
||||
edit->setCommitOnFocusLost(TRUE);
|
||||
|
||||
edit->setIgnoreTab(TRUE);
|
||||
mReplaceEditor = edit;
|
||||
|
||||
@@ -479,10 +478,8 @@ BOOL LLPreviewGesture::postBuild()
|
||||
edit = getChild<LLLineEditor>("chat_editor");
|
||||
edit->setVisible(FALSE);
|
||||
edit->setCommitCallback(boost::bind(&LLPreviewGesture::onCommitChat,this));
|
||||
//edit->setKeystrokeCallback(onKeystrokeCommit);
|
||||
//edit->setCallbackUserData(this);
|
||||
//edit->setKeystrokeCallback(onKeystrokeCommit, this);
|
||||
edit->setCommitOnFocusLost(TRUE);
|
||||
|
||||
edit->setIgnoreTab(TRUE);
|
||||
mChatEditor = edit;
|
||||
|
||||
@@ -500,11 +497,9 @@ BOOL LLPreviewGesture::postBuild()
|
||||
edit->setEnabled(FALSE);
|
||||
edit->setVisible(FALSE);
|
||||
edit->setPrevalidate(LLLineEditor::prevalidateFloat);
|
||||
// edit->setKeystrokeCallback(onKeystrokeCommit);
|
||||
//edit->setCallbackUserData(this);
|
||||
// edit->setKeystrokeCallback(onKeystrokeCommit, this);
|
||||
edit->setCommitOnFocusLost(TRUE);
|
||||
edit->setCommitCallback(boost::bind(&LLPreviewGesture::onCommitWaitTime,this));
|
||||
|
||||
edit->setIgnoreTab(TRUE);
|
||||
mWaitTimeEditor = edit;
|
||||
|
||||
@@ -528,7 +523,6 @@ BOOL LLPreviewGesture::postBuild()
|
||||
addAnimations();
|
||||
addSounds();
|
||||
|
||||
|
||||
const LLInventoryItem* item = getItem();
|
||||
|
||||
if (item)
|
||||
|
||||
Reference in New Issue
Block a user