summaryrefslogtreecommitdiff
path: root/indra/llui/llurlentry.cpp
diff options
context:
space:
mode:
authorMnikolenko ProductEngine <mnikolenko@productengine.com>2015-01-09 12:10:32 +0200
committerMnikolenko ProductEngine <mnikolenko@productengine.com>2015-01-09 12:10:32 +0200
commitbf5145422384386cdb31429ad01d79f7719161a5 (patch)
tree3a2d3c2406a053f7dee41562442b27c3c8a1702b /indra/llui/llurlentry.cpp
parent21c61014453042247d83b22024ed6d4b7e22635c (diff)
MAINT-4169 FIXED grey out all but domain name in SL-links, same as it's done for non-Linden URLs
Diffstat (limited to 'indra/llui/llurlentry.cpp')
-rwxr-xr-xindra/llui/llurlentry.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/indra/llui/llurlentry.cpp b/indra/llui/llurlentry.cpp
index adf010cd5d..acc8fdacfb 100755
--- a/indra/llui/llurlentry.cpp
+++ b/indra/llui/llurlentry.cpp
@@ -49,7 +49,7 @@ std::string localize_slapp_label(const std::string& url, const std::string& full
LLUrlEntryBase::LLUrlEntryBase()
{
- mGreyQuery = LLUI::sSettingGroups["config"]->getBOOL("HTTPNoProtocolShowGreyQuery");
+ mGreyQuery = LLUI::sSettingGroups["config"]->getBOOL("ShowGreyQueryInUrls");
}
LLUrlEntryBase::~LLUrlEntryBase()
@@ -503,12 +503,12 @@ LLUrlEntrySecondlifeURL::LLUrlEntrySecondlifeURL()
std::string LLUrlEntrySecondlifeURL::getLabel(const std::string &url, const LLUrlLabelCallback &cb)
{
- LLUriParser up(url);
- up.extractParts();
+ return urlToLabelWithGreyQuery(url);
+}
- std::string label;
- up.glueFirst(label);
- return label;
+std::string LLUrlEntrySecondlifeURL::getQuery(const std::string &url) const
+{
+ return urlToGreyQuery(url);
}
std::string LLUrlEntrySecondlifeURL::getTooltip(const std::string &url) const