Removed setCallbackUserData calls from the last few newview files

This commit is contained in:
Lirusaito
2013-06-25 23:54:09 -04:00
parent 8fb8e74e54
commit 5aaea47a81
4 changed files with 6 additions and 16 deletions

View File

@@ -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)