From 7b6a4d76a8a6d2491ea0675feccab62d87305907 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Liru=20F=C3=A6rs?= Date: Thu, 10 Oct 2019 11:39:59 -0400 Subject: [PATCH] Actually, we don't underline links, I forgot, oops! --- indra/newview/llnamebox.cpp | 4 ---- indra/newview/llnameeditor.cpp | 4 ---- 2 files changed, 8 deletions(-) diff --git a/indra/newview/llnamebox.cpp b/indra/newview/llnamebox.cpp index ed6768365..9caa43f64 100644 --- a/indra/newview/llnamebox.cpp +++ b/indra/newview/llnamebox.cpp @@ -53,10 +53,6 @@ void LLNameBox::displayAsLink(bool link) static const LLUICachedControl color("HTMLAgentColor"); setColor(link ? color : LLUI::sColorsGroup->getColor("LabelTextColor")); setDisabledColor(link ? color : LLUI::sColorsGroup->getColor("LabelDisabledColor")); - if (link) - mFontStyle |= LLFontGL::UNDERLINE; - else - mFontStyle &= ~LLFontGL::UNDERLINE; } void LLNameBox::showProfile() diff --git a/indra/newview/llnameeditor.cpp b/indra/newview/llnameeditor.cpp index 6062684d7..d00a6dc25 100644 --- a/indra/newview/llnameeditor.cpp +++ b/indra/newview/llnameeditor.cpp @@ -80,10 +80,6 @@ void LLNameEditor::displayAsLink(bool link) { static const LLUICachedControl color("HTMLAgentColor"); setReadOnlyFgColor(link ? color : LLUI::sColorsGroup->getColor("TextFgReadOnlyColor")); - if (link) - mFontStyle |= LLFontGL::UNDERLINE; - else - mFontStyle &= ~LLFontGL::UNDERLINE; } void LLNameEditor::setText(const std::string& text)