diff options
author | Mike Antipov <mantipov@productengine.com> | 2009-11-30 11:41:00 +0200 |
---|---|---|
committer | Mike Antipov <mantipov@productengine.com> | 2009-11-30 11:41:00 +0200 |
commit | c83aa5ba6af31a46eaf2b605e469feeb8bc26871 (patch) | |
tree | 1263b5e97745449b1dee9f6af8248c7061f7bda0 | |
parent | f0426b924f543c62268ac5098c0c2c6a44e68084 (diff) |
Fixed wrong type for getChild<LLTextBox>("user_name") to prevent WARNING logging.
--HG--
branch : product-engine
-rw-r--r-- | indra/newview/llchathistory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llchathistory.cpp b/indra/newview/llchathistory.cpp index caf9c08057..c4c046b3c4 100644 --- a/indra/newview/llchathistory.cpp +++ b/indra/newview/llchathistory.cpp @@ -302,7 +302,7 @@ private: time_box->translate(delta_pos_x, delta_pos_y); //... & change width of the name control - LLTextBox* user_name = getChild<LLTextBox>("user_name"); + LLView* user_name = getChild<LLView>("user_name"); const LLRect& user_rect = user_name->getRect(); user_name->reshape(user_rect.getWidth() + delta_pos_x, user_rect.getHeight()); } |