diff options
Diffstat (limited to 'indra/llui/llpanel.cpp')
| -rw-r--r-- | indra/llui/llpanel.cpp | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/indra/llui/llpanel.cpp b/indra/llui/llpanel.cpp index fa48ebebe9..875f114ce3 100644 --- a/indra/llui/llpanel.cpp +++ b/indra/llui/llpanel.cpp @@ -618,7 +618,17 @@ LLString LLPanel::getString(const LLString& name, const LLString::format_map_t& formatted_string.setArgList(args); return formatted_string.getString(); } - llerrs << "Failed to find string " << name << " in panel " << getName() << llendl; + LLString err_str("Failed to find string " + name + " in panel " + getName()); + // *TODO: once the QAR-369 ui-cleanup work on settings is in we need to change the following line to be + //if(LLUI::sConfigGroup->getBOOL("QAMode")) + if(LLUI::sQAMode) + { + llerrs << err_str << llendl; + } + else + { + llwarns << err_str << llendl; + } return LLString::null; } |
