diff options
author | Rick Pasetto <rick@lindenlab.com> | 2010-02-23 17:36:25 -0800 |
---|---|---|
committer | Rick Pasetto <rick@lindenlab.com> | 2010-02-23 17:36:25 -0800 |
commit | 8cf7dad209fd97c1ab822ef183e8a74faceeb3d8 (patch) | |
tree | 8514d91cafc010f5e7b13f4cdbafa1e88cb187a2 /indra/newview/llpanelnearbymedia.cpp | |
parent | 37291bea8d9b5a626b449d984856e280e159ac5c (diff) |
FIX EXT-5680: Get rid of unnecessary code that formats the media item count
Review #139
The crash was happening because the German (locale "de") version of
the format string had an %ls in it, which was causing the
crash. Getting rid of the widget and the string since it is no longer
desired in the design.
Diffstat (limited to 'indra/newview/llpanelnearbymedia.cpp')
-rw-r--r-- | indra/newview/llpanelnearbymedia.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/indra/newview/llpanelnearbymedia.cpp b/indra/newview/llpanelnearbymedia.cpp index b73d7db770..3b5192b07f 100644 --- a/indra/newview/llpanelnearbymedia.cpp +++ b/indra/newview/llpanelnearbymedia.cpp @@ -135,7 +135,6 @@ BOOL LLPanelNearByMedia::postBuild() mMediaList = getChild<LLScrollListCtrl>("media_list"); mEnableAllCtrl = getChild<LLUICtrl>("all_nearby_media_enable_btn"); mDisableAllCtrl = getChild<LLUICtrl>("all_nearby_media_disable_btn"); - mItemCountText = getChild<LLTextBox>("media_item_count"); mShowCtrl = getChild<LLComboBox>("show_combo"); // Dynamic (selection-dependent) controls @@ -250,8 +249,6 @@ void LLPanelNearByMedia::draw() setShape(new_rect); } - mItemCountText->setValue(llformat(getString("media_item_count_format").c_str(), mMediaList->getItemCount())); - refreshList(); updateControls(); |